Merge pull request #294498 from NyCodeGHG/pkg/fritz-exporter

fritz-exporter: 2.3.1 -> 2.4.3

authored by Sandro and committed by GitHub be483a7b 63e8f34a

+3 -21
-14
pkgs/by-name/fr/fritz-exporter/console-script.patch
··· 1 - diff --git a/pyproject.toml b/pyproject.toml 2 - index ffad1a4..e7551da 100644 3 - --- a/pyproject.toml 4 - +++ b/pyproject.toml 5 - @@ -44,6 +44,9 @@ coverage = ">=6.4.4,<8.0.0" 6 - pytest-cov = ">=3,<5" 7 - ruff = "^0.1.7" 8 - 9 - +[tool.poetry.scripts] 10 - +fritzexporter = "fritzexporter.__main__:main" 11 - + 12 - [build-system] 13 - requires = ["poetry-core"] 14 - build-backend = "poetry.core.masonry.api"
···
+3 -7
pkgs/by-name/fr/fritz-exporter/package.nix
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "fritz-exporter"; 8 - version = "2.3.1"; 9 pyproject = true; 10 11 src = fetchFromGitHub { 12 owner = "pdreker"; 13 repo = "fritz_exporter"; 14 rev = "fritzexporter-v${version}"; 15 - hash = "sha256-Dv/2Og1OJV7canZ8Y5Pai5gPRUvcRDYmSGoD2pnAkSs="; 16 }; 17 18 - patches = [ 19 - # https://github.com/pdreker/fritz_exporter/pull/282 20 - ./console-script.patch 21 - ]; 22 - 23 postPatch = '' 24 # don't test coverage 25 sed -i "/^addopts/d" pyproject.toml ··· 31 32 propagatedBuildInputs = with python3.pkgs; [ 33 attrs 34 fritzconnection 35 prometheus-client 36 pyyaml
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "fritz-exporter"; 8 + version = "2.4.3"; 9 pyproject = true; 10 11 src = fetchFromGitHub { 12 owner = "pdreker"; 13 repo = "fritz_exporter"; 14 rev = "fritzexporter-v${version}"; 15 + hash = "sha256-2A8hw2XkdxkauG+lMlKfObEvLHUQk79xWmlp0hlrXYM="; 16 }; 17 18 postPatch = '' 19 # don't test coverage 20 sed -i "/^addopts/d" pyproject.toml ··· 26 27 propagatedBuildInputs = with python3.pkgs; [ 28 attrs 29 + defusedxml 30 fritzconnection 31 prometheus-client 32 pyyaml