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

35 lines
917 B
Nix
Raw Normal View History

{ stdenv, fetchurl, skalibs }:
let
version = "2.0.5.3";
in stdenv.mkDerivation rec {
name = "s6-portable-utils-${version}";
src = fetchurl {
url = "http://www.skarnet.org/software/s6-portable-utils/${name}.tar.gz";
sha256 = "029fg9c37vwh9yagd69h8r192nrx4mfva8dwgpm1gxkdssrh3gi7";
};
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}");
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";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ pmahoney ];
};
}