summary refs log tree commit diff
path: root/pkgs/development/libraries/libnfs
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2017-09-26 23:26:22 +0800
committerPeter Hoeg <peter@hoeg.com>2017-09-27 09:59:17 +0800
commit97e586b81233f09a33faebfa31e34c6d4f3d2675 (patch)
tree937364c10686f4771b01e3363f6e3454d5cd944f /pkgs/development/libraries/libnfs
parent1a681a6ecb51c4dc80ab9a6065870323ba3aa549 (diff)
downloadnixpkgs-97e586b81233f09a33faebfa31e34c6d4f3d2675.tar
nixpkgs-97e586b81233f09a33faebfa31e34c6d4f3d2675.tar.gz
nixpkgs-97e586b81233f09a33faebfa31e34c6d4f3d2675.tar.bz2
nixpkgs-97e586b81233f09a33faebfa31e34c6d4f3d2675.tar.lz
nixpkgs-97e586b81233f09a33faebfa31e34c6d4f3d2675.tar.xz
nixpkgs-97e586b81233f09a33faebfa31e34c6d4f3d2675.tar.zst
nixpkgs-97e586b81233f09a33faebfa31e34c6d4f3d2675.zip
libnfs: init at 2.0.0
Diffstat (limited to 'pkgs/development/libraries/libnfs')
-rw-r--r--pkgs/development/libraries/libnfs/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libnfs/default.nix b/pkgs/development/libraries/libnfs/default.nix
new file mode 100644
index 00000000000..28069268022
--- /dev/null
+++ b/pkgs/development/libraries/libnfs/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, autoreconfHook }:
+
+stdenv.mkDerivation rec {
+  name = "libnfs-${version}";
+  version = "2.0.0";
+
+  src = fetchFromGitHub {
+    owner = "sahlberg";
+    repo = "libnfs";
+    rev = "libnfs-${version}";
+    sha256 = "1xd1xb09jxwmx7hblv0f9gxv7i1glk3nbj2vyq50zpi158lnf2mb";
+  };
+
+  nativeBuildInputs = [ autoreconfHook ];
+
+  enableParallelBuilding = true;
+
+  meta = with stdenv.lib; {
+    description = "NFS client library";
+    homepage    = https://github.com/sahlberg/libnfs;
+    license     = with licenses; [ lgpl2 bsd gpl3];
+    maintainers = with maintainers; [ peterhoeg ];
+    platforms   = platforms.unix;
+  };
+}