14 buildPythonPackage rec {
15 pname = "odp-amsterdam";
19 disabled = pythonOlder "3.11";
21 src = fetchFromGitHub {
22 owner = "klaasnicolaas";
23 repo = "python-odp-amsterdam";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-teLjiclkbjlG226gMUgqc2IUEWqKcSm6xIekw+AQPU4=";
29 substituteInPlace pyproject.toml \
30 --replace-fail '"0.0.0"' '"${version}"'
31 sed -i '/addopts/d' pyproject.toml
43 propagatedBuildInputs = [
54 pythonImportsCheck = [
59 description = "Python client for getting garage occupancy in Amsterdam";
60 homepage = "https://github.com/klaasnicolaas/python-odp-amsterdam";
61 changelog = "https://github.com/klaasnicolaas/python-odp-amsterdam/releases/tag/v${version}";
62 license = licenses.mit;
63 maintainers = with maintainers; [ fab ];