mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
Merge pull request #269821 from natsukium/radios/update
python311Packages.radios: 0.1.1 -> 0.3.0
This commit is contained in:
commit
3c9dd1c8a2
@ -8,26 +8,28 @@
|
||||
, awesomeversion
|
||||
, backoff
|
||||
, cachetools
|
||||
, mashumaro
|
||||
, orjson
|
||||
, pycountry
|
||||
, pydantic
|
||||
, yarl
|
||||
, aresponses
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "radios";
|
||||
version = "0.1.1";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frenck";
|
||||
repo = "python-radios";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-NCBch9MCWVD6ez0sIUph8rwOOzEMZtwC4atXJe53xZM=";
|
||||
hash = "sha256-bzo+SA8kqc2GcxSV0TiIJyPVG+JshdsMoXSUhZYSphU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -46,18 +48,22 @@ buildPythonPackage rec {
|
||||
awesomeversion
|
||||
backoff
|
||||
cachetools
|
||||
mashumaro
|
||||
orjson
|
||||
pycountry
|
||||
pydantic
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "radios" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asynchronous Python client for the Radio Browser API";
|
||||
homepage = "https://github.com/frenck/python-radios";
|
||||
|
Loading…
Reference in New Issue
Block a user