perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / skaware-packages / s6-portable-utils / default.nix
blobce363381ec24df76dc8270762593bff9830827f8
2   lib,
3   skawarePackages,
4   skalibs,
5 }:
7 skawarePackages.buildPackage {
8   pname = "s6-portable-utils";
9   version = "2.3.0.3";
10   sha256 = "PkSSBV0WDCX7kBU/DvwnfX1Sv5gbvj6i6d/lHEk1Yf8=";
12   manpages = skawarePackages.buildManPages {
13     pname = "s6-portable-utils-man-pages";
14     version = "2.3.0.2.2";
15     sha256 = "0zbxr6jqrx53z1gzfr31nm78wjfmyjvjx7216l527nxl9zn8nnv1";
16     description = "Port of the documentation for the s6-portable-utils suite to mdoc";
17     maintainers = [ lib.maintainers.somasis ];
18   };
20   description = "Set of tiny general Unix utilities optimized for simplicity and small size";
22   outputs = [
23     "bin"
24     "dev"
25     "doc"
26     "out"
27   ];
29   configureFlags = [
30     "--bindir=\${bin}/bin"
31     "--includedir=\${dev}/include"
32     "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
33     "--with-include=${skalibs.dev}/include"
34     "--with-lib=${skalibs.lib}/lib"
35     "--with-dynlib=${skalibs.lib}/lib"
36   ];
38   postInstall = ''
39     # remove all s6 executables from build directory
40     rm $(find -name "s6-*" -type f -mindepth 1 -maxdepth 1 -executable)
41     rm seekablepipe
43     mv doc $doc/share/doc/s6-portable-utils/html
44   '';