commit bcb29abea22f62c6a7be0bea200ef0e1b06e9792
parent cd73aeefb2f628a6fcdcd820323d3cf82031e8a7
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sun, 14 Jul 2024 18:26:51 +0400
Add zwave-js-ui
Diffstat:
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -402,6 +402,7 @@ lib.makeScope newScope (
xfractint = callPackage ./misc/xfractint { };
xtr = callPackage ./misc/xtr { };
youtimetrack = callPackage ./misc/youtimetrack { };
+ zwave-js-ui = callPackage ./misc/zwave-js-ui { };
### MQTT
diff --git a/pkgs/misc/zwave-js-ui/default.nix b/pkgs/misc/zwave-js-ui/default.nix
@@ -0,0 +1,29 @@
+{
+ lib,
+ buildNpmPackage,
+ fetchFromGitHub,
+ nodePackages,
+}:
+
+buildNpmPackage rec {
+ pname = "zwave-js-ui";
+ version = "9.14.6";
+
+ src = fetchFromGitHub {
+ owner = "zwave-js";
+ repo = "zwave-js-ui";
+ rev = "v${version}";
+ hash = "sha256-WEACdu5TLo8mxhRGVH6CSFTfngUATJqKW4i1r4Wp8P0=";
+ };
+
+ npmDepsHash = "sha256-u0BamDmxrxGWBU40xFsCk33kaJHU9NWOyG3VveEARsU=";
+
+ nativeBuildInputs = [ nodePackages.ts-node ];
+
+ meta = {
+ description = "Full featured Z-Wave Control Panel UI and MQTT gateway";
+ homepage = "https://zwave-js.github.io/zwave-js-ui";
+ license = lib.licenses.mit;
+ maintainers = [ lib.maintainers.sikmir ];
+ };
+}