nixpkgs/pkgs/development/python-modules/types-pytz/default.nix

30 lines
561 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "types-pytz";
version = "2023.3.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-zCPQGSzUnI9rukTuDIHkWGqPMCBJcPwIlNIJprCNq5o=";
};
# Modules doesn't have tests
doCheck = false;
pythonImportsCheck = [
"pytz-stubs"
];
meta = with lib; {
description = "Typing stubs for pytz";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}