b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
24 lines
596 B
Nix
24 lines
596 B
Nix
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytz";
|
|
version = "2022.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-HnYOL+aoFjvAs9mhnE+ENCr6Cir/6/qoSwG5eKAuyqc=";
|
|
};
|
|
|
|
checkInputs = [ unittestCheckHook ];
|
|
|
|
unittestFlagsArray = [ "-s" "pytz/tests" ];
|
|
|
|
pythonImportsCheck = [ "pytz" ];
|
|
|
|
meta = with lib; {
|
|
description = "World timezone definitions, modern and historical";
|
|
homepage = "https://pythonhosted.org/pytz";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|