2016-07-31 21:41:56 +02:00
|
|
|
{ stdenv, fetchurl, skalibs, gcc }:
|
2014-08-30 07:05:23 +02:00
|
|
|
|
2017-03-06 01:00:50 +01:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2017-03-03 03:22:54 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-08-30 07:05:23 +02:00
|
|
|
name = "s6-portable-utils-${version}";
|
2017-03-03 03:22:54 +01:00
|
|
|
version = "2.1.0.0";
|
2014-08-30 07:05:23 +02:00
|
|
|
|
2016-07-31 21:41:56 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.skarnet.org/software/s6-portable-utils/${name}.tar.gz";
|
|
|
|
sha256 = "0khw5ljmlghvl4hyrf4vd0hl5rrmsspchi8w4xgniwfip6vlbqfd";
|
2014-08-30 07:05:23 +02:00
|
|
|
};
|
|
|
|
|
2014-12-23 17:06:27 +01:00
|
|
|
dontDisableStatic = true;
|
2017-03-06 02:35:53 +01:00
|
|
|
|
2017-03-06 01:00:50 +01:00
|
|
|
nativeBuildInputs = []
|
2017-03-06 02:35:53 +01:00
|
|
|
++ optional stdenv.isDarwin gcc;
|
|
|
|
|
2017-03-06 01:53:27 +01:00
|
|
|
configureFlags = [
|
2016-07-31 21:41:56 +02:00
|
|
|
"--enable-absolute-paths"
|
2017-03-06 02:35:53 +01:00
|
|
|
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
|
|
|
"--with-include=${skalibs}/include"
|
|
|
|
"--with-lib=${skalibs}/lib"
|
|
|
|
"--with-dynlib=${skalibs}/lib"
|
|
|
|
];
|
|
|
|
|
|
|
|
|
2017-03-06 01:00:50 +01:00
|
|
|
meta = {
|
2014-08-30 07:05:23 +02:00
|
|
|
homepage = http://www.skarnet.org/software/s6-portable-utils/;
|
2014-11-11 14:20:43 +01:00
|
|
|
description = "A set of tiny general Unix utilities optimized for simplicity and small size";
|
2017-03-03 03:22:54 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ pmahoney ];
|
2014-08-30 07:05:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|