2017-03-05 14:52:20 -08:00
|
|
|
{ stdenv, fetchFromGitHub, skalibs, gcc }:
|
2014-08-29 22:05:23 -07:00
|
|
|
|
2017-03-05 16:00:50 -08:00
|
|
|
with stdenv.lib;
|
2017-03-05 16:25:40 -08:00
|
|
|
let
|
|
|
|
cross = "";
|
|
|
|
in
|
2017-03-05 16:00:50 -08:00
|
|
|
|
2017-03-02 18:22:54 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2014-08-29 22:05:23 -07:00
|
|
|
name = "s6-portable-utils-${version}";
|
2017-03-02 18:22:54 -08:00
|
|
|
version = "2.1.0.0";
|
2014-08-29 22:05:23 -07:00
|
|
|
|
2017-03-02 18:22:54 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skarnet";
|
|
|
|
repo = "s6-portable-utils";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0k5pcwc45jw5l8ycz03wx2w4pds0wp4ll47d3i5i1j02i9v0rhc9";
|
2014-08-29 22:05:23 -07:00
|
|
|
};
|
|
|
|
|
2014-12-23 08:06:27 -08:00
|
|
|
dontDisableStatic = true;
|
2017-03-05 14:52:20 -08:00
|
|
|
|
2017-03-05 16:00:50 -08:00
|
|
|
nativeBuildInputs = []
|
|
|
|
++ optional stdenv.isDarwin gcc;
|
2017-03-05 16:25:40 -08:00
|
|
|
|
2017-03-05 16:53:27 -08:00
|
|
|
configureFlags = [
|
|
|
|
#"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
|
|
|
#"--with-include=${skalibs}/include"
|
|
|
|
"--with-lib=${skalibs}/lib"
|
|
|
|
"--with-dynlib=${skalibs}/lib"
|
|
|
|
];
|
|
|
|
|
2017-03-05 16:44:57 -08:00
|
|
|
|
2017-03-05 16:00:50 -08:00
|
|
|
meta = {
|
2014-08-29 22:05:23 -07:00
|
|
|
homepage = http://www.skarnet.org/software/s6-portable-utils/;
|
2014-11-11 05:20:43 -08:00
|
|
|
description = "A set of tiny general Unix utilities optimized for simplicity and small size";
|
2017-03-02 18:22:54 -08:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ pmahoney ];
|
2014-08-29 22:05:23 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|