zigbee2mqtt: init at dev

This commit is contained in:
Luke Granger-Brown 2024-10-13 15:29:42 +01:00
parent 5db6c14cd3
commit 45affea3be
2 changed files with 23 additions and 0 deletions

View file

@ -87,4 +87,6 @@
world-of-goo2 = pkgs.callPackage ./world-of-goo2.nix { }; world-of-goo2 = pkgs.callPackage ./world-of-goo2.nix { };
srsran5g = pkgs.callPackage ./srsran5g { }; srsran5g = pkgs.callPackage ./srsran5g { };
open5gs = pkgs.callPackage ./open5gs { }; open5gs = pkgs.callPackage ./open5gs { };
zigbee2mqtt = pkgs.callPackage ./zigbee2mqtt.nix { };
} // (import ./heptapod-runner args) } // (import ./heptapod-runner args)

21
nix/pkgs/zigbee2mqtt.nix Normal file
View file

@ -0,0 +1,21 @@
{ zigbee2mqtt, fetchNpmDeps, fetchFromGitHub, lib, ... }:
assert zigbee2mqtt.version == "1.40.2";
zigbee2mqtt.overrideAttrs (old: rec {
version = "0-unstable-2024-10-12";
src = fetchFromGitHub {
owner = "Koenkk";
repo = "zigbee2mqtt";
rev = "db00759a030957ad6f80b8e1c230f959efb563ed";
hash = "sha256-nIg06QbDUfo4yBo9gaxDGaah/TcnwM2rzMKA2Up8xmI=";
};
npmDepsHash = "sha256-bQgk9WVhBo+5VXgK+ZIYMVPxcVIKq4IVw3xQfaTqbZY=";
npmDeps = fetchNpmDeps {
inherit src;
name = "zigbee2mqtt-npm-deps";
hash = npmDepsHash;
};
})