diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-04-28 13:26:39 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-04-28 14:17:24 +0200 |
commit | ae8dce8d164743e234f50170b85fb858b9465022 (patch) | |
tree | 8d2f2d540976e5c4caf10ed1bf1e4701f8992d61 /pkgs/tools/archivers/zpaq/default.nix | |
parent | 298d47ba0187d98eb7910ee406d4849e0a6c84fd (diff) | |
download | nixpkgs-ae8dce8d164743e234f50170b85fb858b9465022.tar nixpkgs-ae8dce8d164743e234f50170b85fb858b9465022.tar.gz nixpkgs-ae8dce8d164743e234f50170b85fb858b9465022.tar.bz2 nixpkgs-ae8dce8d164743e234f50170b85fb858b9465022.tar.lz nixpkgs-ae8dce8d164743e234f50170b85fb858b9465022.tar.xz nixpkgs-ae8dce8d164743e234f50170b85fb858b9465022.tar.zst nixpkgs-ae8dce8d164743e234f50170b85fb858b9465022.zip |
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.
Diffstat (limited to 'pkgs/tools/archivers/zpaq/default.nix')
-rw-r--r-- | pkgs/tools/archivers/zpaq/default.nix | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/pkgs/tools/archivers/zpaq/default.nix b/pkgs/tools/archivers/zpaq/default.nix index ba0a174ed0a..3b647dc5283 100644 --- a/pkgs/tools/archivers/zpaq/default.nix +++ b/pkgs/tools/archivers/zpaq/default.nix @@ -1,20 +1,13 @@ { 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; +stdenv.mkDerivation rec { + name = "zpaq-${version}"; + version = "7.12"; - src = fetchurl { - inherit (s) url sha256; + src = let + mungedVersion = with stdenv.lib; concatStrings (splitString "." version); + in fetchurl { + sha256 = "1lgkxiinam80pqqyvs3x845k6kf0wgw121vz0gr8za4blb756n30"; + url = "http://mattmahoney.net/dc/zpaq${mungedVersion}.zip"; }; sourceRoot = "."; @@ -39,11 +32,10 @@ stdenv.mkDerivation { installFlags = [ "PREFIX=$(out)" ]; meta = with stdenv.lib; { - inherit (s) version; 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; - homepage = "http://mattmahoney.net/dc/zpaq.html"; }; } |