2015-01-01 19:34:16 +00:00
|
|
|
{ stdenv, fetchurl, skalibs }:
|
2014-08-30 05:12:38 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
|
2017-11-12 22:39:09 +00:00
|
|
|
version = "2.4.0.2";
|
2014-08-30 05:12:38 +00:00
|
|
|
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "s6-linux-utils-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00: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 05:12:38 +00:00
|
|
|
};
|
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
dontDisableStatic = true;
|
2014-08-30 05:12:38 +00:00
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
configureFlags = [
|
2016-07-31 19:41:56 +00:00
|
|
|
"--enable-absolute-paths"
|
2014-12-23 16:06:27 +00:00
|
|
|
"--includedir=\${prefix}/include"
|
|
|
|
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
|
|
|
"--with-include=${skalibs}/include"
|
|
|
|
"--with-lib=${skalibs}/lib"
|
|
|
|
"--with-dynlib=${skalibs}/lib"
|
|
|
|
];
|
2014-08-30 05:12:38 +00: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 05:12:38 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.isc;
|
2015-06-01 20:16:51 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ pmahoney ];
|
2014-08-30 05:12:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|