Skip to content

Commit 5224c27

Browse files
authored
python312Packages.radios: 0.3.1 -> 0.3.2 (#351333)
2 parents 8195804 + b64a782 commit 5224c27

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

pkgs/development/python-modules/radios/default.nix

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,34 @@
1515
yarl,
1616
aresponses,
1717
pytest-asyncio,
18+
pytest-cov-stub,
1819
pytestCheckHook,
1920
}:
2021

2122
buildPythonPackage rec {
2223
pname = "radios";
23-
version = "0.3.1";
24+
version = "0.3.2";
2425
pyproject = true;
2526

2627
disabled = pythonOlder "3.11";
2728

2829
src = fetchFromGitHub {
2930
owner = "frenck";
3031
repo = "python-radios";
31-
rev = "v${version}";
32-
hash = "sha256-c0zfpfEdZvjvKtwGcNLLgEkBihhtz/wouHuYRLCxtBY=";
32+
rev = "refs/tags/v${version}";
33+
hash = "sha256-GXiLwwjZ/pN3HquzLLWq/2EfhmrJyCXq0sovIGRB3uQ=";
3334
};
3435

3536
postPatch = ''
3637
substituteInPlace pyproject.toml \
37-
--replace "0.0.0" "${version}" \
38-
--replace "--cov" ""
38+
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
3939
'';
4040

41-
nativeBuildInputs = [
41+
build-system = [
4242
poetry-core
4343
];
4444

45-
pythonRelaxDeps = [ "pycountry" ];
46-
47-
propagatedBuildInputs = [
45+
dependencies = [
4846
aiodns
4947
aiohttp
5048
awesomeversion
@@ -59,6 +57,7 @@ buildPythonPackage rec {
5957
nativeCheckInputs = [
6058
aresponses
6159
pytest-asyncio
60+
pytest-cov-stub
6261
pytestCheckHook
6362
];
6463

0 commit comments

Comments
 (0)