Unverified Commit 5b30a71a authored by natsukium's avatar natsukium
Browse files

python311Packages.radios: 0.1.1 -> 0.3.0

parent 7faac2d3
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -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,12 +48,14 @@ buildPythonPackage rec {
    awesomeversion
    backoff
    cachetools
    mashumaro
    orjson
    pycountry
    pydantic
    yarl
  ];

  nativeCheckInputs = [
    aresponses
    pytest-asyncio
    pytestCheckHook
  ];