2014-08-30 06:07:45 +01:00
|
|
|
{ stdenv
|
|
|
|
, execline
|
|
|
|
, fetchurl
|
2014-12-23 16:06:27 +00:00
|
|
|
, gnumake40
|
2014-08-30 06:07:45 +01:00
|
|
|
, s6Dns
|
|
|
|
, skalibs
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
version = "2.0.0.0";
|
2014-08-30 06:07:45 +01:00
|
|
|
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "s6-networking-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.skarnet.org/software/s6-networking/${name}.tar.gz";
|
2014-12-23 16:06:27 +00:00
|
|
|
sha256 = "0k2i0g5lsvh1gz90ixwdip1pngj9vd45d4fpmdg075vd8zhh7j37";
|
2014-08-30 06:07:45 +01:00
|
|
|
};
|
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
buildInputs = [ gnumake40 ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
|
|
|
"--with-include=${skalibs}/include"
|
|
|
|
"--with-include=${execline}/include"
|
|
|
|
"--with-include=${s6Dns}/include"
|
|
|
|
"--with-lib=${skalibs}/lib"
|
|
|
|
"--with-lib=${execline}/lib"
|
|
|
|
"--with-lib=${s6Dns}/lib"
|
|
|
|
"--with-dynlib=${skalibs}/lib"
|
|
|
|
"--with-dynlib=${execline}/lib"
|
|
|
|
"--with-dynlib=${s6Dns}/lib"
|
|
|
|
];
|
2014-08-30 06:07:45 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.skarnet.org/software/s6-networking/;
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A suite of small networking utilities for Unix systems";
|
2014-08-30 06:07:45 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|