2019-06-16 12:59:06 -07:00
|
|
|
{ skawarePackages }:
|
2014-08-29 22:05:23 -07:00
|
|
|
|
2018-09-02 14:31:26 -07:00
|
|
|
with skawarePackages;
|
2017-03-05 16:00:50 -08:00
|
|
|
|
2018-09-02 14:31:26 -07:00
|
|
|
let
|
|
|
|
pname = "s6-portable-utils";
|
|
|
|
|
|
|
|
in buildPackage {
|
|
|
|
pname = pname;
|
2020-11-19 00:25:28 -08:00
|
|
|
version = "2.2.3.0";
|
|
|
|
sha256 = "063zwifigg2b3wsixdcz4h9yvr6fkqssvx0iyfsprjfmm1yapfi9";
|
2014-08-29 22:05:23 -07:00
|
|
|
|
2018-09-02 14:31:26 -07:00
|
|
|
description = "A set of tiny general Unix utilities optimized for simplicity and small size";
|
2014-08-29 22:05:23 -07:00
|
|
|
|
2018-07-22 08:03:19 -07:00
|
|
|
outputs = [ "bin" "dev" "doc" "out" ];
|
|
|
|
|
2017-03-05 16:53:27 -08:00
|
|
|
configureFlags = [
|
2018-07-22 08:03:19 -07:00
|
|
|
"--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"
|
2018-09-02 14:31:26 -07:00
|
|
|
];
|
2017-03-05 17:35:53 -08:00
|
|
|
|
2018-07-22 08:03:19 -07:00
|
|
|
postInstall = ''
|
2018-09-02 14:31:26 -07:00
|
|
|
# remove all s6 executables from build directory
|
|
|
|
rm $(find -name "s6-*" -type f -mindepth 1 -maxdepth 1 -executable)
|
|
|
|
rm seekablepipe
|
|
|
|
|
|
|
|
mv doc $doc/share/doc/${pname}/html
|
2018-07-22 08:03:19 -07:00
|
|
|
'';
|
|
|
|
|
2014-08-29 22:05:23 -07:00
|
|
|
|
|
|
|
}
|