Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 67 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, poetry-core, aiodns, aiohttp, awesomeversion, backoff, cachetools, pycountry, pydantic, yarl, pytest-asyncio, pytestCheckHook}:
buildPythonPackage rec { pname = "radios"; version = "0.1.1";
disabled = pythonOlder "3.9";
format = "pyproject";
src = fetchFromGitHub { owner = "frenck"; repo = "python-radios"; rev = "v${version}"; hash = "sha256-NCBch9MCWVD6ez0sIUph8rwOOzEMZtwC4atXJe53xZM="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace "0.0.0" "${version}" \ --replace "--cov" "" '';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiodns aiohttp awesomeversion backoff cachetools pycountry pydantic yarl ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "radios" ];
meta = with lib; { description = "Asynchronous Python client for the Radio Browser API"; homepage = "https://github.com/frenck/python-radios"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };}