b2sum: switch to fetchFromGitHub
This commit is contained in:
parent
0398f79c29
commit
7cfe1ab75b
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchzip, openmp ? null }:
|
{ lib, stdenv, fetchFromGitHub, openmp ? null }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
@ -6,9 +6,11 @@ stdenv.mkDerivation {
|
||||||
pname = "b2sum";
|
pname = "b2sum";
|
||||||
version = "unstable-2018-06-11";
|
version = "unstable-2018-06-11";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/BLAKE2/BLAKE2/archive/320c325437539ae91091ce62efec1913cd8093c2.tar.gz";
|
owner = "BLAKE2";
|
||||||
sha256 = "0agmc515avdpr64bsgv87wby2idm0d3wbndxzkhdfjgzhgv0rb8k";
|
repo = "BLAKE2";
|
||||||
|
rev = "320c325437539ae91091ce62efec1913cd8093c2";
|
||||||
|
sha256 = "E60M9oP/Sdfg/L3ZxUcDtUXhFz9oP72IybdtVUJh9Sk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "source/b2sum";
|
sourceRoot = "source/b2sum";
|
||||||
|
|
Loading…
Reference in a new issue