mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 08:25:55 +03:00
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
@ -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 New Issue
Block a user