3
0
Fork 0
forked from mirrors/nixpkgs

zpaq: 7.14 -> 715

This commit is contained in:
Michael Raskin 2016-09-26 15:34:18 +02:00
parent a430a38f17
commit abe14c13d1
2 changed files with 8 additions and 2 deletions

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, perl, unzip }:
stdenv.mkDerivation rec {
name = "zpaq-${version}";
version = "7.14";
version = "715";
src = let
mungedVersion = with stdenv.lib; concatStrings (splitString "." version);
in fetchurl {
sha256 = "1xmmn5sy19yip8cbr3plhd7nh7x7k1b09lq2kqfcp6bndg7jxgby";
sha256 = "066l94yyladlfzri877nh2dhkvspagjn3m5bmv725fmhkr9c4pp8";
url = "http://mattmahoney.net/dc/zpaq${mungedVersion}.zip";
};

View file

@ -0,0 +1,6 @@
url http://mattmahoney.net/dc/zpaq.html
version_link 'zpaq[0-9]+[.]zip'
version "[^0-9]*([0-9]+)[^0-9]*" '\1'
name zpaq
attribute_name zpaq
minimize_overwrite