pythonPackages.tabulate: 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
742de0bf24
commit
4101582270
1 changed files with 4 additions and 3 deletions
|
@ -21107,10 +21107,11 @@ in {
|
|||
|
||||
tabulate = buildPythonPackage rec {
|
||||
version = "0.7.7";
|
||||
name = "tabulate-${version}";
|
||||
pname = "tabulate";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/t/tabulate/${name}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue