depot/third_party/nixpkgs/pkgs/development/python-modules/pytz/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

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 ];
};
}