14 buildPythonPackage rec {
19 disabled = pythonOlder "3.11";
21 src = fetchFromGitHub {
22 owner = "klaasnicolaas";
23 repo = "python-eiswarnung";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-/61qrRfD7/gaEcvFot34HYXOVLWwTDi/fvcgHDTv9u0=";
28 __darwinAllowLocalNetworking = true;
31 substituteInPlace pyproject.toml \
32 --replace '"0.0.0"' '"${version}"' \
33 --replace 'addopts = "--cov"' "" \
34 --replace 'pytz = ">=2022.7.1,<2024.0.0"' 'pytz = "*"'
41 propagatedBuildInputs = [
53 pythonImportsCheck = [
58 description = "Module for getting Eiswarning API forecasts";
59 homepage = "https://github.com/klaasnicolaas/python-eiswarnung";
60 changelog = "https://github.com/klaasnicolaas/python-eiswarnung/releases/tag/v${version}";
61 license = with licenses; [ mit ];
62 maintainers = with maintainers; [ fab ];