mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
23 lines
560 B
Nix
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 ];
|
|
};
|
|
}
|