Skip to content

Commit cf659d5

Browse files
authored
python312Packages.aioslimproto: refactor (#355148)
2 parents a4d951e + 5d6ebba commit cf659d5

File tree

1 file changed

+5
-5
lines changed
  • pkgs/development/python-modules/aioslimproto

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ buildPythonPackage rec {
1414
version = "3.1.0";
1515
pyproject = true;
1616

17-
disabled = pythonOlder "3.10";
17+
disabled = pythonOlder "3.11";
1818

1919
src = fetchFromGitHub {
2020
owner = "home-assistant-libs";
@@ -25,12 +25,12 @@ buildPythonPackage rec {
2525

2626
postPatch = ''
2727
substituteInPlace pyproject.toml \
28-
--replace-fail "--cov" ""
28+
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
2929
'';
3030

31-
nativeBuildInputs = [ setuptools ];
31+
build-system = [ setuptools ];
3232

33-
propagatedBuildInputs = [
33+
dependencies = [
3434
aiohttp
3535
async-timeout
3636
pillow
@@ -45,7 +45,7 @@ buildPythonPackage rec {
4545
description = "Module to control Squeezebox players";
4646
homepage = "https://github.com/home-assistant-libs/aioslimproto";
4747
changelog = "https://github.com/home-assistant-libs/aioslimproto/releases/tag/${version}";
48-
license = with licenses; [ asl20 ];
48+
license = licenses.asl20;
4949
maintainers = with maintainers; [ fab ];
5050
};
5151
}

0 commit comments

Comments
 (0)