9 stdenv.mkDerivation rec {
11 version = "4.999.9beta";
13 src = fetchFromGitHub {
16 rev = "124382a6d0832b13b7c091f72264f8f3f463070a";
17 hash = "sha256-NYhPujm5A0j810IKUZEHru/oLXCW7xZf5FjjKAbatZY=";
20 patches = [ ./flush-stdout-help-version.patch ];
23 substituteInPlace Makefile \
24 --replace '`date +%Y%m%d`' '19700101'
26 substituteInPlace pxz.c \
27 --replace 'XZ_BINARY "xz"' 'XZ_BINARY "${lib.getBin xz}/bin/xz"'
33 "BINDIR=${placeholder "out"}/bin"
34 "MANDIR=${placeholder "out"}/share/man"
37 passthru.tests.version = testers.testVersion {
42 homepage = "https://jnovy.fedorapeople.org/pxz/";
43 license = licenses.gpl2Plus;
44 maintainers = with maintainers; [ pashev ];
45 description = "compression utility that runs LZMA compression of different parts on multiple cores simultaneously";
47 Parallel XZ is a compression utility that takes advantage of
48 running LZMA compression of different parts of an input file on multiple
49 cores and processors simultaneously. Its primary goal is to utilize all
50 resources to speed up compression time with minimal possible influence
54 platforms = with platforms; linux;