depot/nix/pkgs/zigbee2mqtt.nix

23 lines
586 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 {
2024-10-13 21:38:05 +00:00
version = "0-unstable-2024-10-13";
2024-10-13 14:29:42 +00:00
src = fetchFromGitHub {
2024-10-13 21:38:05 +00:00
owner = "lukegb";
2024-10-13 14:29:42 +00:00
repo = "zigbee2mqtt";
2024-10-13 21:38:05 +00:00
rev = "d2c92da66574aff205f758cd2c12dfdd9a614290";
hash = "sha256-5TY0nOWIX196zs5hw2Wk1un+QrTASPwpXMF7nD0EjS0=";
2024-10-13 14:29:42 +00:00
};
2024-10-13 21:38:05 +00:00
npmDepsHash = "sha256-2MTr5dF2PGUuHvJMCVzjGI8mcdkhxshf5v6GAwYUJf0=";
makeCacheWritable = true;
2024-10-13 14:29:42 +00:00
npmDeps = fetchNpmDeps {
inherit src;
name = "zigbee2mqtt-npm-deps";
hash = npmDepsHash;
};
})