nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 859 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 lzip, 6 lzlib, 7 texinfo, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "plzip"; 12 version = "1.12"; 13 outputs = [ 14 "out" 15 "man" 16 "info" 17 ]; 18 19 src = fetchurl { 20 url = "mirror://savannah/lzip/plzip/plzip-${finalAttrs.version}.tar.lz"; 21 hash = "sha256-RLvt4rLiOPBbmSEon5194ia3lYKmN2pdEOv8u4dxOoQ="; 22 # hash from release email 23 }; 24 25 nativeBuildInputs = [ 26 lzip 27 texinfo 28 ]; 29 buildInputs = [ lzlib ]; 30 31 enableParallelBuilding = true; 32 33 doCheck = true; 34 35 meta = { 36 homepage = "https://www.nongnu.org/lzip/plzip.html"; 37 description = "Massively parallel lossless data compressor based on the lzlib compression library"; 38 license = lib.licenses.gpl2Plus; 39 platforms = lib.platforms.all; 40 maintainers = with lib.maintainers; [ 41 _360ied 42 ]; 43 mainProgram = "plzip"; 44 }; 45})