python312Packages.aioslimproto: refactor (#355148)

This commit is contained in:
Fabian Affolter 2024-11-12 09:03:56 +01:00 committed by GitHub
commit cf659d5107
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ buildPythonPackage rec {
version = "3.1.0";
pyproject = true;
disabled = pythonOlder "3.10";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "home-assistant-libs";
@ -25,12 +25,12 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "--cov" ""
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
aiohttp
async-timeout
pillow
@ -45,7 +45,7 @@ buildPythonPackage rec {
description = "Module to control Squeezebox players";
homepage = "https://github.com/home-assistant-libs/aioslimproto";
changelog = "https://github.com/home-assistant-libs/aioslimproto/releases/tag/${version}";
license = with licenses; [ asl20 ];
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}