Loading pkgs/by-name/mq/mqtt-exporter/package.nix +8 −5 Original line number Diff line number Diff line { lib, fetchFromGitHub, fetchpatch, python3, }: Loading @@ -16,11 +17,13 @@ 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" ''; patches = [ (fetchpatch { name = "Fix `mqtt-exporter` script"; url = "https://github.com/kpetremann/mqtt-exporter/commit/53f5f31b28cb5aeec1c8d0bb7d1aea56f036082e.diff"; hash = "sha256-LS+kO6bHofNQxk9o+ExsJnaecwfY/40S0MIJwpJxCAI="; }) ]; build-system = with python3.pkgs; [ setuptools ]; Loading Loading
pkgs/by-name/mq/mqtt-exporter/package.nix +8 −5 Original line number Diff line number Diff line { lib, fetchFromGitHub, fetchpatch, python3, }: Loading @@ -16,11 +17,13 @@ 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" ''; patches = [ (fetchpatch { name = "Fix `mqtt-exporter` script"; url = "https://github.com/kpetremann/mqtt-exporter/commit/53f5f31b28cb5aeec1c8d0bb7d1aea56f036082e.diff"; hash = "sha256-LS+kO6bHofNQxk9o+ExsJnaecwfY/40S0MIJwpJxCAI="; }) ]; build-system = with python3.pkgs; [ setuptools ]; Loading