5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
24 lines
598 B
Nix
24 lines
598 B
Nix
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytz";
|
|
version = "2022.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-zqIhQXIE8tGiqgPdrj6GeSGXHQ128U2Hq7RBRBW73PU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|