Skip to content

Commit 6ea7938

Browse files
authored
python313Packages.denonavr: 1.2.0 -> 1.3.1 (NixOS#486852)
2 parents 62fb106 + 5b814bf commit 6ea7938

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
lib,
3-
async-timeout,
43
asyncstdlib,
54
attrs,
65
buildPythonPackage,
@@ -13,20 +12,19 @@
1312
pytest-httpx,
1413
pytest-timeout,
1514
pytestCheckHook,
16-
pythonOlder,
1715
setuptools,
1816
}:
1917

20-
buildPythonPackage rec {
18+
buildPythonPackage (finalAttrs: {
2119
pname = "denonavr";
22-
version = "1.2.0";
20+
version = "1.3.1";
2321
pyproject = true;
2422

2523
src = fetchFromGitHub {
2624
owner = "ol-iver";
2725
repo = "denonavr";
28-
tag = version;
29-
hash = "sha256-/GhlSZhl4VAl0em3QLolSRS0wZQeOhhF+B/91ohqVPw=";
26+
tag = finalAttrs.version;
27+
hash = "sha256-GrcTNnGanyYwcRIqzh5gToe2Z0E5KM2V7Ph/eBFoljA=";
3028
};
3129

3230
build-system = [ setuptools ];
@@ -38,8 +36,7 @@ buildPythonPackage rec {
3836
ftfy
3937
httpx
4038
netifaces
41-
]
42-
++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
39+
];
4340

4441
nativeCheckInputs = [
4542
pytest-asyncio
@@ -53,8 +50,8 @@ buildPythonPackage rec {
5350
meta = {
5451
description = "Automation Library for Denon AVR receivers";
5552
homepage = "https://github.com/ol-iver/denonavr";
56-
changelog = "https://github.com/ol-iver/denonavr/releases/tag/${src.tag}";
53+
changelog = "https://github.com/ol-iver/denonavr/releases/tag/${finalAttrs.src.tag}";
5754
license = lib.licenses.mit;
5855
maintainers = [ ];
5956
};
60-
}
57+
})

0 commit comments

Comments
 (0)