depot/third_party/nixpkgs/pkgs/development/libraries/SDL_net/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
606 B
Nix

{ stdenv, fetchurl, SDL }:
stdenv.mkDerivation rec {
pname = "SDL_net";
version = "1.2.8";
src = fetchurl {
url = "http://www.libsdl.org/projects/SDL_net/release/${pname}-${version}.tar.gz";
sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz";
};
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
propagatedBuildInputs = [ SDL ];
meta = with stdenv.lib; {
description = "SDL networking library";
platforms = platforms.unix;
license = licenses.zlib;
homepage = "https://www.libsdl.org/projects/SDL_net/release-1.2.html";
};
}