Merge pull request #313806 from fabaff/pydeconz-bump

python312Packages.pydeconz: 115 -> 116
This commit is contained in:
Fabian Affolter
2024-05-23 15:37:20 +02:00
committed by GitHub
@@ -9,36 +9,34 @@
pytestCheckHook,
pythonOlder,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "pydeconz";
version = "115";
version = "116";
pyproject = true;
disabled = pythonOlder "3.11";
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "Kane610";
repo = "deconz";
rev = "refs/tags/v${version}";
hash = "sha256-NjzONVSJ4GEaIeC5ytnTi8JpZY1yIq3LN8vbMy3n0vs=";
hash = "sha256-XtcAs+xKSTJcQN0mCj6ewkT7owvA7nlZ8PhWfL9NZh8=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--cov=pydeconz --cov-report term-missing" "" \
--replace "setuptools==" "setuptools>=" \
--replace "wheel==" "wheel>="
--replace-fail "--cov=pydeconz --cov-report term-missing" "" \
--replace-fail "setuptools==" "setuptools>=" \
--replace-fail "wheel==" "wheel>="
'';
nativeBuildInputs = [
build-system = [
setuptools
wheel
];
propagatedBuildInputs = [
dependencies = [
aiohttp
orjson
];
@@ -53,10 +51,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python library wrapping the Deconz REST API";
mainProgram = "pydeconz";
homepage = "https://github.com/Kane610/deconz";
changelog = "https://github.com/Kane610/deconz/releases/tag/v${version}";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "pydeconz";
};
}