mqtt-exporter: fix scripts section
This commit is contained in:
@@ -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; [
|
||||
|
||||
Reference in New Issue
Block a user