1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/libraries/SDL2_net/default.nix

24 lines
648 B
Nix
Raw Normal View History

{ stdenv, darwin, fetchurl, SDL2 }:
2014-08-03 18:49:32 +01:00
stdenv.mkDerivation rec {
name = "SDL2_net-${version}";
version = "2.0.1";
2014-08-03 18:49:32 +01:00
src = fetchurl {
url = "http://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
sha256 = "08cxc1bicmyk89kiks7izw1rlx5ng5n6xpy8fy0zxni3b9z8mkhm";
2014-08-03 18:49:32 +01:00
};
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
propagatedBuildInputs = [ SDL2 ];
2014-08-03 18:49:32 +01:00
meta = with stdenv.lib; {
description = "SDL multiplatform networking library";
homepage = https://www.libsdl.org/projects/SDL_net;
2014-08-03 18:49:32 +01:00
license = licenses.zlib;
maintainers = with maintainers; [ MP2E ];
platforms = platforms.unix;
2014-08-03 18:49:32 +01:00
};
}