Loading pkgs/servers/zigbee2mqtt/default.nix +5 −2 Original line number Diff line number Diff line { lib , stdenv , buildNpmPackage , fetchFromGitHub , systemdMinimal , nixosTests , nix-update-script , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemdMinimal }: buildNpmPackage rec { Loading @@ -19,10 +21,12 @@ buildNpmPackage rec { npmDepsHash = "sha256-AjCeRU/Ew9UquqGPuJeGRC48kCi9uRZaI5Bam365Wwk="; buildInputs = [ buildInputs = lib.optionals withSystemd [ systemdMinimal ]; npmFlags = lib.optionals (!withSystemd) [ "--omit=optional" ]; passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt; passthru.updateScript = nix-update-script { }; Loading @@ -38,7 +42,6 @@ buildNpmPackage rec { In this way you can integrate your Zigbee devices with whatever smart home infrastructure you are using. ''; maintainers = with maintainers; [ sweber hexa ]; platforms = platforms.linux; mainProgram = "zigbee2mqtt"; }; } Loading
pkgs/servers/zigbee2mqtt/default.nix +5 −2 Original line number Diff line number Diff line { lib , stdenv , buildNpmPackage , fetchFromGitHub , systemdMinimal , nixosTests , nix-update-script , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemdMinimal }: buildNpmPackage rec { Loading @@ -19,10 +21,12 @@ buildNpmPackage rec { npmDepsHash = "sha256-AjCeRU/Ew9UquqGPuJeGRC48kCi9uRZaI5Bam365Wwk="; buildInputs = [ buildInputs = lib.optionals withSystemd [ systemdMinimal ]; npmFlags = lib.optionals (!withSystemd) [ "--omit=optional" ]; passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt; passthru.updateScript = nix-update-script { }; Loading @@ -38,7 +42,6 @@ buildNpmPackage rec { In this way you can integrate your Zigbee devices with whatever smart home infrastructure you are using. ''; maintainers = with maintainers; [ sweber hexa ]; platforms = platforms.linux; mainProgram = "zigbee2mqtt"; }; }