1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/development/python-modules/pytz/default.nix
2018-07-26 12:43:06 +02:00

23 lines
560 B
Nix

{ lib, buildPythonPackage, fetchPypi, python }:
buildPythonPackage rec {
pname = "pytz";
version = "2018.5";
src = fetchPypi {
inherit pname version;
sha256 = "ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277";
};
checkPhase = ''
${python.interpreter} -m unittest discover -s pytz/tests
'';
meta = with lib; {
description = "World timezone definitions, modern and historical";
homepage = "http://pythonhosted.org/pytz";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}