pythonPackages.semantic-version: use fetchPypi
In order to make it nicer to override when a specific version is required for Python derivations.
This commit is contained in:
parent
4101582270
commit
65aba6ed17
1 changed files with 6 additions and 3 deletions
|
@ -20318,9 +20318,12 @@ in {
|
|||
};
|
||||
|
||||
semantic-version = buildPythonPackage rec {
|
||||
name = "semantic_version-2.4.2";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/semantic_version/${name}.tar.gz";
|
||||
pname = "semantic_version";
|
||||
version = "2.4.2";
|
||||
name = "${pname}${version}";
|
||||
|
||||
src = self.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7e8b7fa74a3bc9b6e90b15b83b9bc2377c78eaeae3447516425f475d5d6932d2";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue