1 { lib, skawarePackages, skalibs }:
3 skawarePackages.buildPackage {
4 pname = "s6-portable-utils";
6 sha256 = "PkSSBV0WDCX7kBU/DvwnfX1Sv5gbvj6i6d/lHEk1Yf8=";
8 manpages = skawarePackages.buildManPages {
9 pname = "s6-portable-utils-man-pages";
10 version = "2.3.0.2.2";
11 sha256 = "0zbxr6jqrx53z1gzfr31nm78wjfmyjvjx7216l527nxl9zn8nnv1";
12 description = "Port of the documentation for the s6-portable-utils suite to mdoc";
13 maintainers = [ lib.maintainers.somasis ];
16 description = "A set of tiny general Unix utilities optimized for simplicity and small size";
18 outputs = [ "bin" "dev" "doc" "out" ];
21 "--bindir=\${bin}/bin"
22 "--includedir=\${dev}/include"
23 "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
24 "--with-include=${skalibs.dev}/include"
25 "--with-lib=${skalibs.lib}/lib"
26 "--with-dynlib=${skalibs.lib}/lib"
30 # remove all s6 executables from build directory
31 rm $(find -name "s6-*" -type f -mindepth 1 -maxdepth 1 -executable)
34 mv doc $doc/share/doc/s6-portable-utils/html