microsoft_gsl: use fetchFromGitHub
fetchFromGitHub has friendlier ways to download sources. Use it instead of fetchgit for microsoft_gsl.
This commit is contained in:
parent
cda148062a
commit
4c305b73b6
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchgit, catch, cmake
|
{ stdenv, fetchFromGitHub, catch, cmake
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -8,8 +8,9 @@ stdenv.mkDerivation rec {
|
||||||
name = "microsoft_gsl-${version}";
|
name = "microsoft_gsl-${version}";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/Microsoft/GSL.git";
|
owner = "Microsoft";
|
||||||
|
repo = "GSL";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1kxfca9ik934nkzyn34ingkyvwpc09li81cg1yc6vqcrdw51l4ri";
|
sha256 = "1kxfca9ik934nkzyn34ingkyvwpc09li81cg1yc6vqcrdw51l4ri";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue