16 buildPythonPackage rec {
17 pname = "python-opensky";
21 disabled = pythonOlder "3.11";
23 src = fetchFromGitHub {
25 repo = "python-opensky";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-V6iRwWzCnPCvu8eks2sHPYrX3OmaFnNj+i57kQJKYm0=";
31 substituteInPlace pyproject.toml \
32 --replace 'version = "0.0.0"' 'version = "${version}"' \
34 substituteInPlace src/python_opensky/opensky.py \
35 --replace ".joinpath(uri)" "/ uri"
38 nativeBuildInputs = [ poetry-core ];
40 propagatedBuildInputs = [
53 pythonImportsCheck = [ "python_opensky" ];
56 description = "Asynchronous Python client for the OpenSky API";
57 homepage = "https://github.com/joostlek/python-opensky";
58 changelog = "https://github.com/joostlek/python-opensky/releases/tag/v${version}";
59 license = licenses.mit;
60 maintainers = with maintainers; [ fab ];