git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.tabulate: use fetchPypi

In order to make it nicer to override when a specific version is required for Python derivations.

commit41015822707540143db3f7d4a9ead56c7f5c8198 authorRuben Maher <r@rkm.id.au> dateFri 1 Sep 2017, 21:17 (9 years ago) parent742de0b
1 file changed+4−3
pkgs/top-level/python-packages.nix+4−3
pkgs/top-level/python-packages.nix+4−3
@@ -21107,10 +21107,11 @@ in {
2110721107
2110821108 tabulate = buildPythonPackage rec {
2110921109 version = "0.7.7";
21110− name = "tabulate-${version}";
21110+ pname = "tabulate";
21111+ name = "${pname}-${version}";
2111121112
21112− src = pkgs.fetchurl {
21113− url = "mirror://pypi/t/tabulate/${name}.tar.gz";
21113+ src = fetchPypi {
21114+ inherit pname version;
2111421115 sha256 = "83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6";
2111521116 };
2111621117