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.
This commit is contained in:
Tuomas Tynkkynen 2017-11-07 20:38:11 +02:00
parent 9356b8823a
commit 3b9fbfc162
2 changed files with 26 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -9263,6 +9263,8 @@ with pkgs;
libnice = callPackage ../development/libraries/libnice { };
libnsl = callPackage ../development/libraries/libnsl { };
liboping = callPackage ../development/libraries/liboping { };
libplist = callPackage ../development/libraries/libplist { };