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 08:55:50 +00:00
|
|
|
pname = "libnsl";
|
2020-07-08 08:34:29 +00:00
|
|
|
version = "1.3.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}";
|
2020-07-08 08:34:29 +00:00
|
|
|
sha256 = "1dayj5i4bh65gn7zkciacnwv2a0ghm6nn58d78rsi4zby4lyj5w5";
|
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 01:11:51 +00:00
|
|
|
homepage = "https://github.com/thkukuk/libnsl";
|
2017-11-07 18:38:11 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|