skawarePackages.nsss: init at 0.0.1.0
This commit is contained in:
parent
0071ae1d4f
commit
e8f336fac2
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv, skawarePackages }:
|
||||||
|
|
||||||
|
with skawarePackages;
|
||||||
|
|
||||||
|
buildPackage {
|
||||||
|
pname = "nsss";
|
||||||
|
version = "0.0.1.0";
|
||||||
|
sha256 = "0pw7qk4j4q4sl3h01bbqcr44ppxkdvaw08xlhsnnkiv9jypfwx7w";
|
||||||
|
|
||||||
|
description = "An implementation of a subset of the pwd.h, group.h and shadow.h family of functions.";
|
||||||
|
|
||||||
|
# TODO: nsss support
|
||||||
|
configureFlags = [
|
||||||
|
"--libdir=\${lib}/lib"
|
||||||
|
"--dynlibdir=\${lib}/lib"
|
||||||
|
"--bindir=\${bin}/bin"
|
||||||
|
"--includedir=\${dev}/include"
|
||||||
|
"--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
|
||||||
|
"--with-include=${skalibs.dev}/include"
|
||||||
|
"--with-lib=${skalibs.lib}/lib"
|
||||||
|
"--with-dynlib=${skalibs.lib}/lib"
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# remove all nsss executables from build directory
|
||||||
|
rm $(find -name "nsssd-*" -type f -mindepth 1 -maxdepth 1 -executable)
|
||||||
|
rm libnsss.* libnsssd.*
|
||||||
|
|
||||||
|
mv doc $doc/share/doc/nsss/html
|
||||||
|
mv examples $doc/share/doc/nsss/examples
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
|
@ -11311,6 +11311,8 @@ with pkgs;
|
||||||
|
|
||||||
nss_wrapper = callPackage ../development/libraries/nss_wrapper { };
|
nss_wrapper = callPackage ../development/libraries/nss_wrapper { };
|
||||||
|
|
||||||
|
nsss = skawarePackages.nsss;
|
||||||
|
|
||||||
ntbtls = callPackage ../development/libraries/ntbtls { };
|
ntbtls = callPackage ../development/libraries/ntbtls { };
|
||||||
|
|
||||||
ntk = callPackage ../development/libraries/audio/ntk { };
|
ntk = callPackage ../development/libraries/audio/ntk { };
|
||||||
|
@ -12017,6 +12019,9 @@ with pkgs;
|
||||||
s6-networking = callPackage ../tools/networking/s6-networking { };
|
s6-networking = callPackage ../tools/networking/s6-networking { };
|
||||||
s6-portable-utils = callPackage ../tools/misc/s6-portable-utils { };
|
s6-portable-utils = callPackage ../tools/misc/s6-portable-utils { };
|
||||||
s6-rc = callPackage ../tools/system/s6-rc { };
|
s6-rc = callPackage ../tools/system/s6-rc { };
|
||||||
|
|
||||||
|
nsss = callPackage ../development/libraries/nsss { };
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
skydive = callPackage ../tools/networking/skydive { };
|
skydive = callPackage ../tools/networking/skydive { };
|
||||||
|
|
Loading…
Reference in New Issue