2017-03-03 02:22:54 +00:00
|
|
|
{ stdenv, fetchFromGitHub, skalibs }:
|
2014-08-30 06:05:23 +01:00
|
|
|
|
2017-03-03 02:22:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-08-30 06:05:23 +01:00
|
|
|
name = "s6-portable-utils-${version}";
|
2017-03-03 02:22:54 +00:00
|
|
|
version = "2.1.0.0";
|
2014-08-30 06:05:23 +01:00
|
|
|
|
2017-03-03 02:22:54 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skarnet";
|
|
|
|
repo = "s6-portable-utils";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0k5pcwc45jw5l8ycz03wx2w4pds0wp4ll47d3i5i1j02i9v0rhc9";
|
2014-08-30 06:05:23 +01:00
|
|
|
};
|
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
dontDisableStatic = true;
|
2014-08-30 06:05:23 +01:00
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
|
|
|
"--with-include=${skalibs}/include"
|
|
|
|
"--with-lib=${skalibs}/lib"
|
|
|
|
"--with-dynlib=${skalibs}/lib"
|
2016-04-01 16:20:13 +01:00
|
|
|
]
|
|
|
|
++ (stdenv.lib.optional stdenv.isDarwin "--target=${stdenv.system}");
|
2014-08-30 06:05:23 +01:00
|
|
|
|
2017-03-03 02:22:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-30 06:05:23 +01:00
|
|
|
homepage = http://www.skarnet.org/software/s6-portable-utils/;
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A set of tiny general Unix utilities optimized for simplicity and small size";
|
2017-03-03 02:22:54 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ pmahoney ];
|
2014-08-30 06:05:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|