2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkg-config }:
|
2017-11-07 18:38:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-06 09:55:50 +01:00
|
|
|
pname = "libnsl";
|
2021-08-17 09:21:56 +01:00
|
|
|
version = "2.0.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}";
|
2021-08-17 09:21:56 +01:00
|
|
|
sha256 = "sha256-f9kNzzR8baf5mLgrh+bKO/rBRZA5ZYc1tJdyLE7Bi1w=";
|
2017-11-07 18:38:11 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-11-07 18:38:11 +00:00
|
|
|
buildInputs = [ libtirpc ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-11-07 18:38:11 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|