Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 22 lines 615 B view raw
1{ lib, stdenv, fetchurl, cmake, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "nss_wrapper"; 5 version = "1.1.16"; 6 7 src = fetchurl { 8 url = "mirror://samba/cwrap/nss_wrapper-${version}.tar.gz"; 9 sha256 = "sha256-3HmrByd5vkQDtFtgzQRN0TeA1LuWddJ6vxkyrafIqI0="; 10 }; 11 12 nativeBuildInputs = [ cmake pkg-config ]; 13 14 meta = with lib; { 15 description = "Wrapper for the user, group and hosts NSS API"; 16 mainProgram = "nss_wrapper.pl"; 17 homepage = "https://git.samba.org/?p=nss_wrapper.git;a=summary;"; 18 license = licenses.bsd3; 19 platforms = platforms.unix; 20 broken = stdenv.isDarwin; 21 }; 22}