zpaq: fix version and pull from github
This commit is contained in:
parent
08b828d1c5
commit
841893119d
@ -1,17 +1,16 @@
|
|||||||
{ stdenv, fetchurl, perl, unzip }:
|
{ stdenv, fetchFromGitHub, perl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zpaq-${version}";
|
name = "zpaq-${version}";
|
||||||
version = "715";
|
version = "7.15";
|
||||||
|
|
||||||
src = let
|
src = fetchFromGitHub {
|
||||||
mungedVersion = with stdenv.lib; concatStrings (splitString "." version);
|
owner = "zpaq";
|
||||||
in fetchurl {
|
repo = "zpaq";
|
||||||
sha256 = "066l94yyladlfzri877nh2dhkvspagjn3m5bmv725fmhkr9c4pp8";
|
rev = version;
|
||||||
url = "http://mattmahoney.net/dc/zpaq${mungedVersion}.zip";
|
sha256 = "0v44rlg9gvwc4ggr2lhcqll8ppal3dk7zsg5bqwcc5lg3ynk2pz4";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = ".";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ perl /* for pod2man */ ];
|
nativeBuildInputs = [ perl /* for pod2man */ ];
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user