python3Packages.pynobo: modernize

This commit is contained in:
Fabian Affolter
2026-05-17 23:24:51 +02:00
committed by GitHub
parent ab4063cbf5
commit 98d73ff3d4
@@ -5,7 +5,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pynobo";
version = "1.9.0";
pyproject = true;
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "echoromeo";
repo = "pynobo";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-7saIhGkcRkT+HATpnL+DcIWarZue7UCp1lTyfgzLfl8=";
};
@@ -27,8 +27,8 @@ buildPythonPackage rec {
meta = {
description = "Python TCP/IP interface for Nobo Hub/Nobo Energy Control devices";
homepage = "https://github.com/echoromeo/pynobo";
changelog = "https://github.com/echoromeo/pynobo/releases/tag/v${version}";
license = with lib.licenses; [ gpl3Plus ];
changelog = "https://github.com/echoromeo/pynobo/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
};
}
})