1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/tools/misc/s6-portable-utils/default.nix
2014-11-28 13:10:37 -06:00

36 lines
728 B
Nix

{ stdenv
, fetchurl
, skalibs
, skarnetConfCompile
}:
let
version = "1.0.3.2";
in stdenv.mkDerivation rec {
name = "s6-portable-utils-${version}";
src = fetchurl {
url = "http://www.skarnet.org/software/s6-portable-utils/${name}.tar.gz";
sha256 = "040nmls7qbgw8yn502lym4kgqh5zxr2ks734bqajpi2ricnasvhl";
};
buildInputs = [ skalibs skarnetConfCompile ];
sourceRoot = "admin/${name}";
preInstall = ''
mkdir -p "$out/libexec"
'';
meta = {
homepage = http://www.skarnet.org/software/s6-portable-utils/;
description = "A set of tiny general Unix utilities optimized for simplicity and small size";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.isc;
};
}