b2sum: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-09-19 22:58:37 +02:00
parent 0398f79c29
commit 7cfe1ab75b

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip, openmp ? null }:
{ lib, stdenv, fetchFromGitHub, openmp ? null }:
with lib;
@ -6,9 +6,11 @@ stdenv.mkDerivation {
pname = "b2sum";
version = "unstable-2018-06-11";
src = fetchzip {
url = "https://github.com/BLAKE2/BLAKE2/archive/320c325437539ae91091ce62efec1913cd8093c2.tar.gz";
sha256 = "0agmc515avdpr64bsgv87wby2idm0d3wbndxzkhdfjgzhgv0rb8k";
src = fetchFromGitHub {
owner = "BLAKE2";
repo = "BLAKE2";
rev = "320c325437539ae91091ce62efec1913cd8093c2";
sha256 = "E60M9oP/Sdfg/L3ZxUcDtUXhFz9oP72IybdtVUJh9Sk=";
};
sourceRoot = "source/b2sum";