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