depot/third_party/nixpkgs/pkgs/by-name/pl/plzip/package.nix

46 lines
871 B
Nix

{
lib,
stdenv,
fetchurl,
lzip,
lzlib,
texinfo,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "plzip";
version = "1.11";
outputs = [
"out"
"man"
"info"
];
src = fetchurl {
url = "mirror://savannah/lzip/plzip/plzip-${finalAttrs.version}.tar.lz";
hash = "sha256-UfSNM99lm7Ph5+QYJ16SKtdSYVpbyYQTnaCPHm19EP0=";
# hash from release email
};
nativeBuildInputs = [
lzip
texinfo
];
buildInputs = [ lzlib ];
enableParallelBuilding = true;
doCheck = true;
meta = {
homepage = "https://www.nongnu.org/lzip/plzip.html";
description = "Massively parallel lossless data compressor based on the lzlib compression library";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [
_360ied
ehmry
];
mainProgram = "plzip";
};
})