mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python.pkgs.pytz: 2016.6.1 -> 2017.2
This commit is contained in:
parent
4050ec5836
commit
7a73f298d9
@ -18966,18 +18966,19 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
pytz = buildPythonPackage rec {
|
||||
name = "pytz-${version}";
|
||||
version = "2016.6.1";
|
||||
name = "${pname}-${version}";
|
||||
pname = "pytz";
|
||||
version = "2017.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pytz/${name}.tar.gz";
|
||||
sha256 = "6f57732f0f8849817e9853eb9d50d85d1ebb1404f702dbc44ee627c642a486ca";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "12cmd3j46d2gcw08bspvp6s9icfcvx88zjz52n1bli9dyvl5dh7m";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover -s pytz/tests
|
||||
python -m unittest discover -s pytz/tests
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@ -18987,7 +18988,6 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
pyutil = buildPythonPackage (rec {
|
||||
name = "pyutil-2.0.0";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user