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

33 lines
907 B
Nix
Raw Normal View History

2017-03-03 03:22:54 +01:00
{ stdenv, fetchFromGitHub, skalibs }:
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";
2017-03-03 03:22:54 +01:00
src = fetchFromGitHub {
owner = "skarnet";
repo = "s6-portable-utils";
rev = "v${version}";
sha256 = "0k5pcwc45jw5l8ycz03wx2w4pds0wp4ll47d3i5i1j02i9v0rhc9";
};
dontDisableStatic = true;
configureFlags = [
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
"--with-include=${skalibs}/include"
"--with-lib=${skalibs}/lib"
"--with-dynlib=${skalibs}/lib"
]
++ (stdenv.lib.optional stdenv.isDarwin "--target=${stdenv.system}");
2017-03-03 03:22:54 +01:00
meta = with stdenv.lib; {
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 ];
};
}