15 buildPythonPackage rec {
16 pname = "python-opensky";
20 disabled = pythonOlder "3.10";
22 src = fetchFromGitHub {
24 repo = "python-opensky";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-xNXFvCUZ/x5ox3KxmG3eA73wpX4fwhvAVmlfcKiT1V8=";
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 ];