22 buildPythonPackage rec {
27 disabled = pythonOlder "3.8";
29 src = fetchFromGitHub {
31 repo = "python-holidays";
32 rev = "refs/tags/v${version}";
33 hash = "sha256-pYlirojeHi10kUcjcvpfBYpIzbYmIlFgOLfy7WRhACU=";
46 patchShebangs scripts/l10n/*.py
51 ./scripts/l10n/generate_po_files.py
52 ./scripts/l10n/generate_mo_files.py
55 propagatedBuildInputs = [
67 pythonImportsCheck = [
72 # Failure starting with 0.24
77 description = "Generate and work with holidays in Python";
78 homepage = "https://github.com/dr-prodigy/python-holidays";
79 changelog = "https://github.com/dr-prodigy/python-holidays/releases/tag/v${version}";
80 license = licenses.mit;
81 maintainers = with maintainers; [ fab jluttine ];