Skip to content

Commit

Permalink
zpaq: fix version and pull from github
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer authored and FRidh committed Jul 11, 2019
1 parent 08b828d commit 8418931
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions pkgs/tools/archivers/zpaq/default.nix
@@ -1,17 +1,16 @@
{ stdenv, fetchurl, perl, unzip }:
{ stdenv, fetchFromGitHub, perl, unzip }:

stdenv.mkDerivation rec {
name = "zpaq-${version}";
version = "715";
version = "7.15";

src = let
mungedVersion = with stdenv.lib; concatStrings (splitString "." version);
in fetchurl {
sha256 = "066l94yyladlfzri877nh2dhkvspagjn3m5bmv725fmhkr9c4pp8";
url = "http://mattmahoney.net/dc/zpaq${mungedVersion}.zip";
src = fetchFromGitHub {
owner = "zpaq";
repo = "zpaq";
rev = version;
sha256 = "0v44rlg9gvwc4ggr2lhcqll8ppal3dk7zsg5bqwcc5lg3ynk2pz4";
};

sourceRoot = ".";

nativeBuildInputs = [ perl /* for pod2man */ ];
buildInputs = [ unzip ];

Expand Down

0 comments on commit 8418931

Please sign in to comment.