python3Packages.webthing: modernize

This commit is contained in:
Harinn
2026-06-15 23:20:27 +07:00
parent 414f453f33
commit fe42f0be9f
@@ -10,15 +10,17 @@
zeroconf,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "webthing";
version = "0.15.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "WebThingsIO";
repo = "webthing-python";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-z4GVycdq25QZxuzZPLg6nhj0MAD1bHrsqph4yHgmRhg=";
};
@@ -43,4 +45,4 @@ buildPythonPackage rec {
license = with lib.licenses; [ mpl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
})