2017-11-07 18:38:11 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-06 09:55:50 +01:00
|
|
|
pname = "libnsl";
|
|
|
|
version = "1.2.0";
|
2017-11-07 18:38:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thkukuk";
|
2019-05-06 09:55:50 +01: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+";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/thkukuk/libnsl";
|
2017-11-07 18:38:11 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|