Merge pull request #23543 from ndowens/s6-portable-utils
s6-portable-utils: 2.0.5.3 -> 2.1.0.0
This commit is contained in:
commit
7bbf7cb57b
@ -1,34 +1,37 @@
|
|||||||
{ stdenv, fetchurl, skalibs }:
|
{ stdenv, fetchFromGitHub, skalibs, gcc }:
|
||||||
|
|
||||||
let
|
with stdenv.lib;
|
||||||
|
|
||||||
version = "2.0.5.3";
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
name = "s6-portable-utils-${version}";
|
name = "s6-portable-utils-${version}";
|
||||||
|
version = "2.1.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.skarnet.org/software/s6-portable-utils/${name}.tar.gz";
|
owner = "skarnet";
|
||||||
sha256 = "029fg9c37vwh9yagd69h8r192nrx4mfva8dwgpm1gxkdssrh3gi7";
|
repo = "s6-portable-utils";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0k5pcwc45jw5l8ycz03wx2w4pds0wp4ll47d3i5i1j02i9v0rhc9";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = []
|
||||||
|
++ optional stdenv.isDarwin gcc;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
||||||
"--with-include=${skalibs}/include"
|
"--with-include=${skalibs}/include"
|
||||||
"--with-lib=${skalibs}/lib"
|
"--with-lib=${skalibs}/lib"
|
||||||
"--with-dynlib=${skalibs}/lib"
|
"--with-dynlib=${skalibs}/lib"
|
||||||
]
|
];
|
||||||
++ (stdenv.lib.optional stdenv.isDarwin "--target=${stdenv.system}");
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.skarnet.org/software/s6-portable-utils/;
|
homepage = http://www.skarnet.org/software/s6-portable-utils/;
|
||||||
description = "A set of tiny general Unix utilities optimized for simplicity and small size";
|
description = "A set of tiny general Unix utilities optimized for simplicity and small size";
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = platforms.all;
|
||||||
license = stdenv.lib.licenses.isc;
|
license = licenses.isc;
|
||||||
maintainers = with stdenv.lib.maintainers; [ pmahoney ];
|
maintainers = with maintainers; [ pmahoney ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user