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
|
||||
|
@ -8,8 +8,9 @@ stdenv.mkDerivation rec {
|
|||
name = "microsoft_gsl-${version}";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/Microsoft/GSL.git";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Microsoft";
|
||||
repo = "GSL";
|
||||
rev = "v${version}";
|
||||
sha256 = "1kxfca9ik934nkzyn34ingkyvwpc09li81cg1yc6vqcrdw51l4ri";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue