Skip to content

Commit

Permalink
python312Packages.radios: 0.3.1 -> 0.3.2 (#351333)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Oct 26, 2024
2 parents 8195804 + b64a782 commit 5224c27
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions pkgs/development/python-modules/radios/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,34 @@
yarl,
aresponses,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "radios";
version = "0.3.1";
version = "0.3.2";
pyproject = true;

disabled = pythonOlder "3.11";

src = fetchFromGitHub {
owner = "frenck";
repo = "python-radios";
rev = "v${version}";
hash = "sha256-c0zfpfEdZvjvKtwGcNLLgEkBihhtz/wouHuYRLCxtBY=";
rev = "refs/tags/v${version}";
hash = "sha256-GXiLwwjZ/pN3HquzLLWq/2EfhmrJyCXq0sovIGRB3uQ=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}" \
--replace "--cov" ""
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';

nativeBuildInputs = [
build-system = [
poetry-core
];

pythonRelaxDeps = [ "pycountry" ];

propagatedBuildInputs = [
dependencies = [
aiodns
aiohttp
awesomeversion
Expand All @@ -59,6 +57,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];

Expand Down

0 comments on commit 5224c27

Please sign in to comment.