Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

rzip: cleanup

+10 -7
+10 -7
pkgs/tools/compression/rzip/default.nix
··· 1 - {lib, stdenv, fetchurl, fetchpatch, bzip2}: 1 + { lib, stdenv, fetchurl, fetchpatch, bzip2 }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "rzip"; 5 + version = "2.1"; 2 6 3 - stdenv.mkDerivation { 4 - name = "rzip-2.1"; 5 7 src = fetchurl { 6 - url = "mirror://samba/rzip/rzip-2.1.tar.gz"; 8 + url = "mirror://samba/rzip/rzip-${version}.tar.gz"; 7 9 sha256 = "4bb96f4d58ccf16749ed3f836957ce97dbcff3e3ee5fd50266229a48f89815b7"; 8 10 }; 9 11 buildInputs = [ bzip2 ]; ··· 16 18 }) 17 19 ]; 18 20 19 - meta = { 21 + meta = with lib; { 20 22 homepage = "https://rzip.samba.org/"; 21 23 description = "Compression program"; 22 - license = lib.licenses.gpl2Plus; 23 - platforms = lib.platforms.unix; 24 + maintainers = with maintainers; [ ]; 25 + license = licenses.gpl2Plus; 26 + platforms = platforms.unix; 24 27 }; 25 28 }