treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
This commit is contained in:
committed by
Jonathan Ringer
parent
c6afa8820b
commit
2c931312ce
@@ -1,14 +1,15 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pykka";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/jodal/pykka.git";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jodal";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "011rvv3vzj9rpwaq6vfpz9hfwm6gx1jmad4iri6z12g8nnlpydhs";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user