nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 897 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 fetchpatch, 6 bzip2, 7 autoreconfHook, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "rzip"; 12 version = "2.1"; 13 14 src = fetchurl { 15 url = "mirror://samba/rzip/rzip-${finalAttrs.version}.tar.gz"; 16 sha256 = "4bb96f4d58ccf16749ed3f836957ce97dbcff3e3ee5fd50266229a48f89815b7"; 17 }; 18 19 nativeBuildInputs = [ autoreconfHook ]; 20 buildInputs = [ bzip2 ]; 21 22 patches = [ 23 (fetchpatch { 24 name = "CVE-2017-8364-fill-buffer.patch"; 25 url = "https://sources.debian.net/data/main/r/rzip/2.1-4.1/debian/patches/80-CVE-2017-8364-fill-buffer.patch"; 26 sha256 = "0jcjlx9ksdvxvjyxmyzscx9ar9992iy5icw0sc3n0p09qi4d6x1r"; 27 }) 28 ]; 29 30 meta = { 31 homepage = "https://rzip.samba.org/"; 32 description = "Compression program"; 33 maintainers = [ ]; 34 license = lib.licenses.gpl2Plus; 35 platforms = lib.platforms.unix; 36 mainProgram = "rzip"; 37 }; 38})