forked from mirrors/nixpkgs
333d69a5f0
The most complex problems were from dealing with switches reverted in the meantime (gcc5, gmp6, ncurses6). It's likely that darwin is (still) broken nontrivially.
22 lines
621 B
Nix
22 lines
621 B
Nix
{ stdenv, fetchurl, cmake, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "uid_wrapper-1.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://samba/cwrap/${name}.tar.gz";
|
|
sha256 = "0sfznk53kmz9m3rxwbv4pwwqs4bw3kr917y4n53h5jaxjym0m4c0";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
buildInputs = [ (stdenv.cc.libc.out or null) ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "a wrapper for the user, group and hosts NSS API";
|
|
homepage = "https://git.samba.org/?p=uid_wrapper.git;a=summary";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|