skawarePackages.nsss: init at 0.0.1.0

This commit is contained in:
Profpatsch 2018-09-03 10:10:46 +02:00
parent 0071ae1d4f
commit e8f336fac2
2 changed files with 38 additions and 0 deletions

View file

@ -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
'';
}

View file

@ -11311,6 +11311,8 @@ with pkgs;
nss_wrapper = callPackage ../development/libraries/nss_wrapper { };
nsss = skawarePackages.nsss;
ntbtls = callPackage ../development/libraries/ntbtls { };
ntk = callPackage ../development/libraries/audio/ntk { };
@ -12017,6 +12019,9 @@ with pkgs;
s6-networking = callPackage ../tools/networking/s6-networking { };
s6-portable-utils = callPackage ../tools/misc/s6-portable-utils { };
s6-rc = callPackage ../tools/system/s6-rc { };
nsss = callPackage ../development/libraries/nsss { };
};
skydive = callPackage ../tools/networking/skydive { };