Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "libnsl"; 5 version = "2.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "thkukuk"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-f9kNzzR8baf5mLgrh+bKO/rBRZA5ZYc1tJdyLE7Bi1w="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 buildInputs = [ libtirpc ]; 16 17 meta = with lib; { 18 description = "Client interface library for NIS(YP) and NIS+"; 19 homepage = "https://github.com/thkukuk/libnsl"; 20 license = licenses.lgpl21; 21 maintainers = [ maintainers.dezgeg ]; 22 platforms = platforms.linux; 23 }; 24}