15 buildPythonPackage rec {
16 pname = "odp-amsterdam";
20 disabled = pythonOlder "3.11";
22 src = fetchFromGitHub {
23 owner = "klaasnicolaas";
24 repo = "python-odp-amsterdam";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-veBccNxqhqBYKUC5pdjZ1IOWUYUqiNK5pJq1L+8UCxA=";
30 substituteInPlace pyproject.toml \
31 --replace-fail '"0.0.0"' '"${version}"'
32 sed -i '/addopts/d' pyproject.toml
39 pythonRelaxDeps = [ "pytz" ];
53 pythonImportsCheck = [ "odp_amsterdam" ];
56 description = "Python client for getting garage occupancy in Amsterdam";
57 homepage = "https://github.com/klaasnicolaas/python-odp-amsterdam";
58 changelog = "https://github.com/klaasnicolaas/python-odp-amsterdam/releases/tag/v${version}";
59 license = licenses.mit;
60 maintainers = with maintainers; [ fab ];