nixpkgs-suyu/pkgs/tools/misc/s6-portable-utils/default.nix

37 lines
918 B
Nix
Raw Normal View History

{ stdenv, fetchurl, skalibs, gcc }:
with stdenv.lib;
2017-03-03 03:22:54 +01:00
stdenv.mkDerivation rec {
name = "s6-portable-utils-${version}";
2017-03-03 03:22:54 +01:00
version = "2.1.0.0";
src = fetchurl {
url = "http://www.skarnet.org/software/s6-portable-utils/${name}.tar.gz";
sha256 = "0khw5ljmlghvl4hyrf4vd0hl5rrmsspchi8w4xgniwfip6vlbqfd";
};
dontDisableStatic = true;
nativeBuildInputs = []
++ optional stdenv.isDarwin gcc;
configureFlags = [
"--enable-absolute-paths"
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
"--with-include=${skalibs}/include"
"--with-lib=${skalibs}/lib"
"--with-dynlib=${skalibs}/lib"
];
meta = {
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 ];
};
}