depot/third_party/nixpkgs/pkgs/development/libraries/nss_wrapper/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

22 lines
628 B
Nix

{ lib, stdenv, fetchurl, cmake, pkg-config }:
stdenv.mkDerivation rec {
pname = "nss_wrapper";
version = "1.1.16";
src = fetchurl {
url = "mirror://samba/cwrap/nss_wrapper-${version}.tar.gz";
sha256 = "sha256-3HmrByd5vkQDtFtgzQRN0TeA1LuWddJ6vxkyrafIqI0=";
};
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.hostPlatform.isDarwin;
};
}