nixpkgs/pkgs/os-specific/linux/s6-linux-utils/default.nix
2015-06-01 15:20:56 -05:00

35 lines
854 B
Nix

{ stdenv, fetchurl, skalibs }:
let
version = "2.0.2.0";
in stdenv.mkDerivation rec {
name = "s6-linux-utils-${version}";
src = fetchurl {
url = "http://www.skarnet.org/software/s6-linux-utils/${name}.tar.gz";
sha256 = "0y6dq4wb5v1c6ps6a7jyq08r2pjksrvz6n3dnfa9c91gzm4m1dxb";
};
dontDisableStatic = true;
configureFlags = [
"--includedir=\${prefix}/include"
"--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-linux-utils/;
description = "A set of minimalistic Linux-specific system utilities";
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ pmahoney ];
};
}