2015-01-01 19:34:16 +00:00
|
|
|
{ stdenv, fetchurl, skalibs }:
|
2014-08-30 06:12:38 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
|
2017-11-12 22:39:09 +00:00
|
|
|
version = "2.4.0.2";
|
2014-08-30 06:12:38 +01:00
|
|
|
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "s6-linux-utils-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://www.skarnet.org/software/s6-linux-utils/${name}.tar.gz";
|
2017-11-12 22:39:09 +00:00
|
|
|
sha256 = "0245rmk7wfyyfsi4g7f0niprwlvqlwkbyjxflb8kkbvhwfdavqip";
|
2014-08-30 06:12:38 +01:00
|
|
|
};
|
|
|
|
|
2018-07-22 16:03:19 +01:00
|
|
|
outputs = [ "bin" "dev" "doc" "out" ];
|
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
dontDisableStatic = true;
|
2014-08-30 06:12:38 +01:00
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
configureFlags = [
|
2016-07-31 20:41:56 +01:00
|
|
|
"--enable-absolute-paths"
|
2018-07-22 16:03:19 +01: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"
|
2014-12-23 16:06:27 +00:00
|
|
|
];
|
2014-08-30 06:12:38 +01:00
|
|
|
|
2018-07-22 16:03:19 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $doc/share/doc/s6-networking/
|
|
|
|
mv doc $doc/share/doc/s6-networking/html
|
|
|
|
'';
|
|
|
|
|
2014-08-30 06:12:38 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.skarnet.org/software/s6-linux-utils/;
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A set of minimalistic Linux-specific system utilities";
|
2014-08-30 06:12:38 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.isc;
|
2018-07-22 20:44:10 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ pmahoney Profpatsch ];
|
2014-08-30 06:12:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|