mqtt-exporter: 1.9.0 -> 1.11.2

This commit is contained in:
Mario
2026-02-24 16:45:29 +00:00
parent 0160284a9d
commit 18d0d6dead
+2 -11
View File
@@ -1,30 +1,21 @@
{
lib,
fetchFromGitHub,
fetchpatch,
python3,
}:
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "mqtt-exporter";
version = "1.9.0";
version = "1.11.2";
pyproject = true;
src = fetchFromGitHub {
owner = "kpetremann";
repo = "mqtt-exporter";
tag = "v${finalAttrs.version}";
hash = "sha256-z2y43sRlwgy3Bwhu8rvlTkf6HOT+v8kjo5FT3lo5CEA=";
hash = "sha256-pWXdd82K1BhUKHGVGpTRW4f/Xa9nf0Ww/l2pxdw/Jw8=";
};
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 ];
dependencies = with python3.pkgs; [