1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

Merge branch 'auto-update/pigz'

This commit is contained in:
Matthew Bauer 2018-04-11 00:17:21 -05:00
commit 0c70c40845

View file

@ -1,20 +1,22 @@
{ stdenv, fetchurl, zlib, utillinux }:
let name = "pigz";
version = "2.3.4";
version = "2.4";
in
stdenv.mkDerivation {
name = name + "-" + version;
src = fetchurl {
url = "http://www.zlib.net/${name}/${name}-${version}.tar.gz";
sha256 = "16lgbjzzfx0k4a1znsw8kq3lnkx17gw93zq2sn01sny11fj1y0vg";
sha256 = "0wsgw5vwl23jrnpsvd8v3xcp5k4waw5mk0164fynjhkv58i1dy54";
};
enableParallelBuilding = true;
buildInputs = [zlib] ++ stdenv.lib.optional stdenv.isLinux utillinux;
makeFlags = [ "CC=cc" ];
doCheck = stdenv.isLinux;
checkTarget = "tests";
installPhase =