1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs/servers/zigbee2mqtt/default.nix

26 lines
700 B
Nix
Raw Normal View History

{ pkgs, system, dataDir ? "/opt/zigbee2mqtt/data", nixosTests }:
2019-10-19 19:54:10 +01:00
let
package = (import ./node.nix { inherit pkgs system; }).package;
in
package.override rec {
2021-03-31 16:02:38 +01:00
version = "1.18.2";
2019-10-19 19:54:10 +01:00
reconstructLock = true;
src = pkgs.fetchFromGitHub {
owner = "Koenkk";
repo = "zigbee2mqtt";
rev = version;
2021-03-31 16:02:38 +01:00
sha256 = "sha256-95RhoJ0aqprzMNOUw9UbLosBwBtQvudKOQaBvBJohn8=";
2019-10-19 19:54:10 +01:00
};
2020-08-03 02:54:40 +01:00
passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt;
meta = with pkgs.lib; {
2019-10-19 19:54:10 +01:00
description = "Zigbee to MQTT bridge using zigbee-shepherd";
license = licenses.gpl3;
homepage = https://github.com/Koenkk/zigbee2mqtt;
maintainers = with maintainers; [ sweber ];
platforms = platforms.linux;
};
}