depot/third_party/nixpkgs/pkgs/development/python-modules/pytz/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
626 B
Nix

{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
buildPythonPackage rec {
pname = "pytz";
version = "2022.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-fM+ue0ssBnRkpnM8YmFnP9uP0b6QVGA5a5egc+n6aDo=";
};
nativeCheckInputs = [ 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 ];
};
}