python313Packages.zwave-js-server-python: modernize
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user