treewide: simplify rev/repo arguments in src

+ use fetchFromGithub where possible
This commit is contained in:
Pavol Rusnak
2020-11-01 23:02:24 -08:00
committed by Jonathan Ringer
parent c6afa8820b
commit 2c931312ce
86 changed files with 148 additions and 134 deletions
@@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "bytecodealliance";
repo = "${pname}";
repo = pname;
rev = "v${version}";
sha256 = "01k1fpk2qp4kv0xr4f0xmrjkr98j5ws48r1aks8l80mffs4ynqfr";
fetchSubmodules = true;