blob: d9ea3eeb4787f5ed27eace89b08071a815b5cb0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "ha-mqtt-discoverable-cli";
version = "0.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "unixorn";
repo = "ha-mqtt-discoverable-cli";
rev = "refs/tags/v${version}";
hash = "sha256-rGRsB5kAtzI5KP4tMiQqLJQZs7z5k657V8Di0OzB6F8=";
};
pythonRelaxDeps = [ "ha-mqtt-discoverable" ];
build-system = with python3.pkgs; [ poetry-core ];
dependencies = with python3.pkgs; [ ha-mqtt-discoverable ];
# Project has no real tests
doCheck = false;
pythonImportsCheck = [ "ha_mqtt_discoverable_cli" ];
meta = with lib; {
description = "CLI for creating Home Assistant compatible MQTT entities that will be automatically discovered";
homepage = "https://github.com/unixorn/ha-mqtt-discoverable-cli";
changelog = "https://github.com/unixorn/ha-mqtt-discoverable-cli/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "hmd";
};
}
|