diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libnatpmp/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libnatpmp/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libnatpmp/default.nix b/nixpkgs/pkgs/development/libraries/libnatpmp/default.nix new file mode 100644 index 000000000000..17626bb23e13 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libnatpmp/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "libnatpmp-${version}"; + version = "20150609"; + + src = fetchurl { + name = "${name}.tar.gz"; + url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz"; + sha256 = "1c1n8n7mp0amsd6vkz32n8zj3vnsckv308bb7na0dg0r8969rap1"; + }; + + makeFlags = [ "INSTALLPREFIX=$(out)" ]; + + meta = with stdenv.lib; { + homepage = http://miniupnp.free.fr/libnatpmp.html; + description = "NAT-PMP client"; + license = licenses.bsd3; + maintainers = with maintainers; [ orivej ]; + platforms = platforms.linux; + }; +} |