a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
24 lines
594 B
Nix
24 lines
594 B
Nix
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytz";
|
|
version = "2022.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-6JUSQGt5PKOfWXG8mZzFOM4SXA5RwnlBvvRWi0YAleI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|