depot/third_party/nixpkgs/pkgs/development/libraries/nss_wrapper/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

22 lines
615 B
Nix

{ lib, stdenv, fetchurl, cmake, pkg-config }:
stdenv.mkDerivation rec {
pname = "nss_wrapper";
version = "1.1.15";
src = fetchurl {
url = "mirror://samba/cwrap/nss_wrapper-${version}.tar.gz";
sha256 = "sha256-Nvh0gypPIVjgT2mqd+VRXhbPbjv4GWjV3YSW231pBq0=";
};
nativeBuildInputs = [ cmake pkg-config ];
meta = with lib; {
description = "Wrapper for the user, group and hosts NSS API";
mainProgram = "nss_wrapper.pl";
homepage = "https://git.samba.org/?p=nss_wrapper.git;a=summary;";
license = licenses.bsd3;
platforms = platforms.unix;
broken = stdenv.isDarwin;
};
}