1 { skawarePackages, skalibs }:
3 skawarePackages.buildPackage {
6 sha256 = "ObUE+FvY9rUj0zTlz6YsAqOV2zWZG3XyBt8Ku9Z2Gq0=";
8 description = "An implementation of a subset of the pwd.h, group.h and shadow.h family of functions.";
12 "--libdir=\${lib}/lib"
13 "--dynlibdir=\${lib}/lib"
14 "--bindir=\${bin}/bin"
15 "--includedir=\${dev}/include"
16 "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
17 "--with-include=${skalibs.dev}/include"
18 "--with-lib=${skalibs.lib}/lib"
19 "--with-dynlib=${skalibs.lib}/lib"
23 # remove all nsss executables from build directory
24 rm $(find -name "nsssd-*" -type f -mindepth 1 -maxdepth 1 -executable)
25 rm libnsss.* libnsssd.*
27 mv doc $doc/share/doc/nsss/html
28 mv examples $doc/share/doc/nsss/examples