mqtt-exporter: fix scripts section

This commit is contained in:
Fabian Affolter
2025-12-01 18:23:12 +01:00
parent 66b8ac8794
commit ddb6940ed2
@@ -16,6 +16,12 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-z2y43sRlwgy3Bwhu8rvlTkf6HOT+v8kjo5FT3lo5CEA=";
};
postPatch = ''
# https://github.com/kpetremann/mqtt-exporter/pull/117
substituteInPlace pyproject.toml \
--replace-fail "mqtt_exporter.main:main" "mqtt_exporter.main:main_mqtt_exporter"
'';
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [