mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Use fetchFromGitHub instead of fetchurl
This commit is contained in:
parent
d9b3d77448
commit
11458e36d7
@ -178,9 +178,11 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
|
||||
pname = "Dafny";
|
||||
version = "3.7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Microsoft/dafny/archive/v${version}.tar.gz";
|
||||
sha256 = "0w9g8smx54pvg1y5zs90awv9plgyz5nkrnqbzi9m6dymhybblvx5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Microsoft";
|
||||
repo = "dafny";
|
||||
rev = "v${version}";
|
||||
sha256 = "1knv6zvpq0bnngmlwkcqgjpdkqsgbiihs6a0cycb8ssn18s4ippr";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
Reference in New Issue
Block a user