summary refs log tree commit diff
path: root/pkgs/development/libraries/libnatpmp
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2018-04-19 19:10:51 +0000
committerOrivej Desh <orivej@gmx.fr>2018-05-20 11:51:17 +0000
commit5188ef371f3d5d96e8775cd39fdf18714f58f774 (patch)
treee0e7112de6b5601247dc0e2bf7799438d8102db7 /pkgs/development/libraries/libnatpmp
parent430bfa5ae58fb462ca9142e622375baf4940ca5c (diff)
downloadnixpkgs-5188ef371f3d5d96e8775cd39fdf18714f58f774.tar
nixpkgs-5188ef371f3d5d96e8775cd39fdf18714f58f774.tar.gz
nixpkgs-5188ef371f3d5d96e8775cd39fdf18714f58f774.tar.bz2
nixpkgs-5188ef371f3d5d96e8775cd39fdf18714f58f774.tar.lz
nixpkgs-5188ef371f3d5d96e8775cd39fdf18714f58f774.tar.xz
nixpkgs-5188ef371f3d5d96e8775cd39fdf18714f58f774.tar.zst
nixpkgs-5188ef371f3d5d96e8775cd39fdf18714f58f774.zip
libnatpmp: init at 20150609
Diffstat (limited to 'pkgs/development/libraries/libnatpmp')
-rw-r--r--pkgs/development/libraries/libnatpmp/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libnatpmp/default.nix b/pkgs/development/libraries/libnatpmp/default.nix
new file mode 100644
index 00000000000..17626bb23e1
--- /dev/null
+++ b/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;
+  };
+}