2017-11-07 18:38:11 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-06 08:55:50 +00:00
|
|
|
pname = "libnsl";
|
|
|
|
version = "1.2.0";
|
2017-11-07 18:38:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thkukuk";
|
2019-05-06 08:55:50 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1chzqhcgh0yia9js8mh92cmhyka7rh32ql6b3mgdk26n94dqzs8b";
|
2017-11-07 18:38:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|