mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
30 lines
818 B
Nix
30 lines
818 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";
|
|
};
|
|
})
|