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.
This commit is contained in:
parent
298d47ba01
commit
ae8dce8d16
@ -1,20 +1,13 @@
|
|||||||
{ stdenv, fetchurl, perl, unzip }:
|
{ stdenv, fetchurl, perl, unzip }:
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
s = # Generated upstream information
|
name = "zpaq-${version}";
|
||||||
rec {
|
version = "7.12";
|
||||||
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 {
|
src = let
|
||||||
inherit (s) url sha256;
|
mungedVersion = with stdenv.lib; concatStrings (splitString "." version);
|
||||||
|
in fetchurl {
|
||||||
|
sha256 = "1lgkxiinam80pqqyvs3x845k6kf0wgw121vz0gr8za4blb756n30";
|
||||||
|
url = "http://mattmahoney.net/dc/zpaq${mungedVersion}.zip";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
@ -39,11 +32,10 @@ stdenv.mkDerivation {
|
|||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
inherit (s) version;
|
|
||||||
description = "Incremental journaling backup utility and archiver";
|
description = "Incremental journaling backup utility and archiver";
|
||||||
|
homepage = http://mattmahoney.net/dc/zpaq.html;
|
||||||
license = licenses.gpl3Plus ;
|
license = licenses.gpl3Plus ;
|
||||||
maintainers = with maintainers; [ raskin nckx ];
|
maintainers = with maintainers; [ raskin nckx ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
homepage = "http://mattmahoney.net/dc/zpaq.html";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user