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
+2 -2
View File
@@ -13,8 +13,8 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "sanpii";
repo = "${pname}";
rev = "${version}";
repo = pname;
rev = version;
sha256 = "09bffxdp43s8b1rpmsgqr2kyz3i4jbd2yrwbxw21fj3sf3mwb9ig";
};