3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/SDL2_net/default.nix
2014-08-24 10:21:47 +02:00

23 lines
616 B
Nix

{ stdenv, fetchurl, SDL2 }:
stdenv.mkDerivation rec {
name = "SDL2_net-2.0.0";
src = fetchurl {
url = "http://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
sha256 = "d715be30783cc99e541626da52079e308060b21d4f7b95f0224b1d06c1faacab";
};
propagatedBuildInputs = [SDL2];
postInstall = "ln -s $out/include/SDL2/SDL_net.h $out/include/";
meta = with stdenv.lib; {
description = "SDL multiplatform networking library";
homepage = https://www.libsdl.org/projects/SDL_net;
license = licenses.zlib;
maintainers = [ maintainers.MP2E ];
platforms = platforms.all;
};
}