diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libnsl')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libnsl/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libnsl/default.nix b/nixpkgs/pkgs/development/libraries/libnsl/default.nix new file mode 100644 index 000000000000..b199406918ab --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libnsl/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkg-config }: + +stdenv.mkDerivation rec { + pname = "libnsl"; + version = "2.0.1"; + + src = fetchFromGitHub { + owner = "thkukuk"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-bCToqXVE4RZcoZ2eTNZcVHyzKlWyIpSAssQCOZcfmEA="; + }; + + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ libtirpc ]; + + meta = with 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; + }; +} |