depot/nix/pkgs/zigbee2mqtt.nix

22 lines
558 B
Nix
Raw Normal View History

2024-10-13 14:29:42 +00:00
{ 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;
};
})