nixpkgs/pkgs/development/libraries/SDL_net/default.nix

23 lines
604 B
Nix
Raw Normal View History

{ stdenv, fetchurl, SDL }:
stdenv.mkDerivation rec {
pname = "SDL_net";
2013-12-18 12:27:17 +01:00
version = "1.2.8";
src = fetchurl {
url = "http://www.libsdl.org/projects/SDL_net/release/${pname}-${version}.tar.gz";
2013-12-18 12:27:17 +01:00
sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz";
};
2017-11-11 02:22:15 +01:00
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;
};
}