python3Packages.pyintesishome: modernize

This commit is contained in:
Fabian Affolter
2026-05-03 15:02:57 +02:00
parent f7fe61fc34
commit 16939eba9a
@@ -3,21 +3,24 @@
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pyintesishome";
version = "1.8.7";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "jnimmo";
repo = "pyIntesisHome";
tag = version;
tag = finalAttrs.version;
hash = "sha256-TwZAuu/mnChZwhZ5uGPiQ23curCiqTKWNgDrvwpgojc=";
};
propagatedBuildInputs = [ aiohttp ];
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# Project has no tests
doCheck = false;
@@ -27,8 +30,8 @@ buildPythonPackage rec {
meta = {
description = "Python interface for IntesisHome devices";
homepage = "https://github.com/jnimmo/pyIntesisHome";
changelog = "https://github.com/jnimmo/pyIntesisHome/releases/tag/${version}";
license = with lib.licenses; [ mit ];
changelog = "https://github.com/jnimmo/pyIntesisHome/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})