ha-mqtt-discoverable-cli: 0.16.4.1 -> 0.18.0 (#387152)
This commit is contained in:
@@ -4,32 +4,26 @@
|
||||
python3,
|
||||
}:
|
||||
|
||||
let
|
||||
python = python3.override {
|
||||
self = python;
|
||||
packageOverrides = self: super: {
|
||||
# https://github.com/unixorn/ha-mqtt-discoverable/pull/310
|
||||
paho-mqtt = self.paho-mqtt_1;
|
||||
};
|
||||
};
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "ha-mqtt-discoverable-cli";
|
||||
version = "0.16.4.1";
|
||||
version = "0.18.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "unixorn";
|
||||
repo = "ha-mqtt-discoverable-cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-VjHsiF4HxGscG1pysxegPyM+Y18CWW06D3WezD+BLss=";
|
||||
hash = "sha256-bPgVPj/ZfHznY0cY1ac0TlhCCdw3ZssL/E8yo0gACgQ=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "ha-mqtt-discoverable" ];
|
||||
|
||||
build-system = with python.pkgs; [ poetry-core ];
|
||||
build-system = with python3.pkgs; [ poetry-core ];
|
||||
|
||||
dependencies = with python.pkgs; [ ha-mqtt-discoverable ];
|
||||
dependencies = with python3.pkgs; [
|
||||
gitlike-commands
|
||||
ha-mqtt-discoverable
|
||||
];
|
||||
|
||||
# Project has no real tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -8,12 +8,11 @@
|
||||
pyaml,
|
||||
pydantic,
|
||||
pythonOlder,
|
||||
thelogrus,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ha-mqtt-discoverable";
|
||||
version = "0.16.4";
|
||||
version = "0.18.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -22,10 +21,14 @@ buildPythonPackage rec {
|
||||
owner = "unixorn";
|
||||
repo = "ha-mqtt-discoverable";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-9JRgg2A/tcZyAkuddQ/v3Dhxe60O47Y4VZY3Yb6/49g=";
|
||||
hash = "sha256-CO2XVYYQql8w+YYCxffDdqiKs0Aqc3rYtRM79IYmkzY=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "pyaml" ];
|
||||
pythonRelaxDeps = [
|
||||
"paho-mqtt"
|
||||
"pyaml"
|
||||
"pydantic"
|
||||
];
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -34,7 +37,6 @@ buildPythonPackage rec {
|
||||
paho-mqtt
|
||||
pyaml
|
||||
pydantic
|
||||
thelogrus
|
||||
];
|
||||
|
||||
# Test require a running Mosquitto instance
|
||||
@@ -43,8 +45,6 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "ha_mqtt_discoverable" ];
|
||||
|
||||
meta = with lib; {
|
||||
# https://github.com/unixorn/ha-mqtt-discoverable/pull/310
|
||||
broken = lib.versionAtLeast paho-mqtt.version "2";
|
||||
description = "Python module to create MQTT entities that are automatically discovered by Home Assistant";
|
||||
homepage = "https://github.com/unixorn/ha-mqtt-discoverable";
|
||||
changelog = "https://github.com/unixorn/ha-mqtt-discoverable/releases/tag/v${version}";
|
||||
|
||||
Reference in New Issue
Block a user