15 buildPythonPackage rec {
16 pname = "python-opensky";
20 disabled = pythonOlder "3.11";
22 src = fetchFromGitHub {
24 repo = "python-opensky";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-Ia6/Lr/uNuF1u0s4g0tpYaW+hKeLbUKxYC/O+ZBqiXI=";
30 substituteInPlace pyproject.toml \
31 --replace 'version = "0.0.0"' 'version = "${version}"' \
33 substituteInPlace src/python_opensky/opensky.py \
34 --replace ".joinpath(uri)" "/ uri"
41 propagatedBuildInputs = [
54 pythonImportsCheck = [
59 description = "Asynchronous Python client for the OpenSky API";
60 homepage = "https://github.com/joostlek/python-opensky";
61 changelog = "https://github.com/joostlek/python-opensky/releases/tag/v${version}";
62 license = licenses.mit;
63 maintainers = with maintainers; [ fab ];