python313Packages.zwave-js-server-python: modernize

This commit is contained in:
Fabian Affolter
2026-01-16 20:42:12 +01:00
committed by GitHub
parent 397831a1ec
commit 93dd4223c9
@@ -10,7 +10,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "zwave-js-server-python";
version = "0.68.0";
pyproject = true;
@@ -20,7 +20,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "zwave-js-server-python";
tag = version;
tag = finalAttrs.version;
hash = "sha256-NfK+/nuQjlAgg4ZCifo/KoPrgc5FHhEmdK8utnm1iDI=";
};
@@ -41,9 +41,9 @@ buildPythonPackage rec {
meta = {
description = "Python wrapper for zwave-js-server";
homepage = "https://github.com/home-assistant-libs/zwave-js-server-python";
changelog = "https://github.com/home-assistant-libs/zwave-js-server-python/releases/tag/${src.tag}";
license = with lib.licenses; [ asl20 ];
changelog = "https://github.com/home-assistant-libs/zwave-js-server-python/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "zwave-js-server-python";
};
}
})