zpaq: 7.11 -> 7.12

Faster extract. Removes -encrypt (combined with -repack).

Also, we now correctly follow upstream's versioning and no longer
multiply the version number by 100. You may need to update manually.

Changed files
+9 -17
pkgs
tools
archivers
+9 -17
pkgs/tools/archivers/zpaq/default.nix
···
{ stdenv, fetchurl, perl, unzip }:
-
let
-
s = # Generated upstream information
-
rec {
-
baseName="zpaq";
-
version="711";
-
name="${baseName}-${version}";
-
hash="0kva9xn3rhm2xpbbq3yrx3c9y150fw434ayd82fzhr24nsjjaxsf";
-
url="http://mattmahoney.net/dc/zpaq711.zip";
-
sha256="0kva9xn3rhm2xpbbq3yrx3c9y150fw434ayd82fzhr24nsjjaxsf";
-
};
-
in
-
stdenv.mkDerivation {
-
inherit (s) name version;
-
src = fetchurl {
-
inherit (s) url sha256;
};
sourceRoot = ".";
···
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
-
inherit (s) version;
description = "Incremental journaling backup utility and archiver";
license = licenses.gpl3Plus ;
maintainers = with maintainers; [ raskin nckx ];
platforms = platforms.linux;
-
homepage = "http://mattmahoney.net/dc/zpaq.html";
};
}
···
{ stdenv, fetchurl, perl, unzip }:
+
stdenv.mkDerivation rec {
+
name = "zpaq-${version}";
+
version = "7.12";
+
src = let
+
mungedVersion = with stdenv.lib; concatStrings (splitString "." version);
+
in fetchurl {
+
sha256 = "1lgkxiinam80pqqyvs3x845k6kf0wgw121vz0gr8za4blb756n30";
+
url = "http://mattmahoney.net/dc/zpaq${mungedVersion}.zip";
};
sourceRoot = ".";
···
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Incremental journaling backup utility and archiver";
+
homepage = http://mattmahoney.net/dc/zpaq.html;
license = licenses.gpl3Plus ;
maintainers = with maintainers; [ raskin nckx ];
platforms = platforms.linux;
};
}