2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-10 14:31:46 +00:00
|
|
|
pname = "nss_wrapper";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "1.1.15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-10 14:31:46 +00:00
|
|
|
url = "mirror://samba/cwrap/nss_wrapper-${version}.tar.gz";
|
2023-02-16 17:41:37 +00:00
|
|
|
sha256 = "sha256-Nvh0gypPIVjgT2mqd+VRXhbPbjv4GWjV3YSW231pBq0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Wrapper for the user, group and hosts NSS API";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "nss_wrapper.pl";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://git.samba.org/?p=nss_wrapper.git;a=summary;";
|
|
|
|
license = licenses.bsd3;
|
2021-05-20 23:08:51 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
broken = stdenv.isDarwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|