Skip to content

Commit

Permalink
pigz: 2.6 -> 2.7
Browse files Browse the repository at this point in the history
(cherry picked from commit edcb9df)
  • Loading branch information
avdv authored and teggotic committed Sep 17, 2023
1 parent bde7ca2 commit 8f15619
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/tools/compression/pigz/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, zlib, util-linux }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib, util-linux }:

stdenv.mkDerivation rec {
pname = "pigz";
Expand All @@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-PzdxyO4mCg2jE/oBk1MH+NUdWM95wIIIbncBg71BkmQ=";
};

patches = [
# needed to build the pigzn test binary
(fetchpatch {
url = "https://github.com/madler/pigz/commit/67fd6e436f4f479aead529a719e24d6864cf1dfa.patch";
sha256 = "sha256-FkzLYob/WIVIB7eh03cdzpLy6SzoHLqEMsWyHdMTjbU=";
})
];

enableParallelBuilding = true;

buildInputs = [ zlib ] ++ lib.optional stdenv.isLinux util-linux;
Expand Down

0 comments on commit 8f15619

Please sign in to comment.