2015-04-28 22:41:40 +02:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig }:
|
2015-03-04 23:19:58 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nss_wrapper-1.0.3";
|
|
|
|
|
2015-04-28 22:41:40 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://samba/cwrap/${name}.tar.gz";
|
|
|
|
sha256 = "0bysdijvi9n0jk74iklbfhbp0kvv81a727lcfd5q03q2hkzjfm18";
|
2015-03-04 23:19:58 +01:00
|
|
|
};
|
|
|
|
|
2015-04-21 10:02:32 +02:00
|
|
|
buildInputs = [ cmake pkgconfig (stdenv.cc.libc.out or null) ];
|
|
|
|
# outputs TODO: missing glibc.out might become a general problem
|
2015-03-04 23:19:58 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-03-06 12:09:10 +01:00
|
|
|
description = "A wrapper for the user, group and hosts NSS API";
|
2015-03-05 17:40:17 +01:00
|
|
|
homepage = "https://git.samba.org/?p=nss_wrapper.git;a=summary";
|
2015-03-04 23:19:58 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|