mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 08:01:50 +00:00
pythonPackages.pytz: 2016.3 -> 2016.6.1
This commit is contained in:
parent
6b20d5b75e
commit
29b5c72cbc
|
@ -20244,13 +20244,17 @@ in modules // {
|
||||||
|
|
||||||
pytz = buildPythonPackage rec {
|
pytz = buildPythonPackage rec {
|
||||||
name = "pytz-${version}";
|
name = "pytz-${version}";
|
||||||
version = "2016.3";
|
version = "2016.6.1";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/p/pytz/${name}.tar.gz";
|
url = "mirror://pypi/p/pytz/${name}.tar.gz";
|
||||||
sha256 = "1a3hjclyylc4m1v1dn04b38wm2vl649ijdswpg0d8m8n0lcxlj9l";
|
sha256 = "6f57732f0f8849817e9853eb9d50d85d1ebb1404f702dbc44ee627c642a486ca";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest discover -s pytz/tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "World timezone definitions, modern and historical";
|
description = "World timezone definitions, modern and historical";
|
||||||
homepage = "http://pythonhosted.org/pytz";
|
homepage = "http://pythonhosted.org/pytz";
|
||||||
|
|
Loading…
Reference in a new issue