summary refs log tree commit diff
path: root/pkgs/development/libraries/libnsl
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-11-07 20:38:11 +0200
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-11-07 20:38:11 +0200
commit3b9fbfc1625fcc23a5dae905b804128c1004ff11 (patch)
tree385948a0f1b4acced7a09b0fb5822dbbf7db9202 /pkgs/development/libraries/libnsl
parent9356b8823a83e865c8fff0205dee2bb17f1b3dcd (diff)
downloadnixpkgs-3b9fbfc1625fcc23a5dae905b804128c1004ff11.tar
nixpkgs-3b9fbfc1625fcc23a5dae905b804128c1004ff11.tar.gz
nixpkgs-3b9fbfc1625fcc23a5dae905b804128c1004ff11.tar.bz2
nixpkgs-3b9fbfc1625fcc23a5dae905b804128c1004ff11.tar.lz
nixpkgs-3b9fbfc1625fcc23a5dae905b804128c1004ff11.tar.xz
nixpkgs-3b9fbfc1625fcc23a5dae905b804128c1004ff11.tar.zst
nixpkgs-3b9fbfc1625fcc23a5dae905b804128c1004ff11.zip
libnsl: init at 1.1.0
This code was formerly part of glibc, but is now standalone to
be able to link against TI-RPC for IPv6 support.
Diffstat (limited to 'pkgs/development/libraries/libnsl')
-rw-r--r--pkgs/development/libraries/libnsl/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libnsl/default.nix b/pkgs/development/libraries/libnsl/default.nix
new file mode 100644
index 00000000000..d4af280c3cd
--- /dev/null
+++ b/pkgs/development/libraries/libnsl/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkgconfig }:
+
+stdenv.mkDerivation rec {
+  name = "libnsl-${version}";
+  version = "1.1.0";
+
+  src = fetchFromGitHub {
+    owner = "thkukuk";
+    repo = "libnsl";
+    rev = "libnsl-${version}";
+    sha256 = "0h8br0gmgw3fp5fmy6bfbj1qlk9hry1ssg25ssjgxbd8spczpscs";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkgconfig ];
+  buildInputs = [ libtirpc ];
+
+  meta = with stdenv.lib; {
+    description = "Client interface library for NIS(YP) and NIS+";
+    homepage = https://github.com/thkukuk/libnsl;
+    license = licenses.lgpl21;
+    maintainers = [ maintainers.dezgeg ];
+    platforms = platforms.linux;
+  };
+}