python312Packages.aioslimproto: refactor

This commit is contained in:
Fabian Affolter 2024-11-11 08:46:45 +01:00
parent 4dde341229
commit 5d6ebba21e

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 ];
};
}