mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
fritz-exporter: 2.3.1 -> 2.4.3
https://github.com/pdreker/fritz_exporter/releases/tag/fritzexporter-v2.4.3
This commit is contained in:
parent
6074e65d28
commit
fa347347f3
@ -1,14 +0,0 @@
|
|||||||
diff --git a/pyproject.toml b/pyproject.toml
|
|
||||||
index ffad1a4..e7551da 100644
|
|
||||||
--- a/pyproject.toml
|
|
||||||
+++ b/pyproject.toml
|
|
||||||
@@ -44,6 +44,9 @@ coverage = ">=6.4.4,<8.0.0"
|
|
||||||
pytest-cov = ">=3,<5"
|
|
||||||
ruff = "^0.1.7"
|
|
||||||
|
|
||||||
+[tool.poetry.scripts]
|
|
||||||
+fritzexporter = "fritzexporter.__main__:main"
|
|
||||||
+
|
|
||||||
[build-system]
|
|
||||||
requires = ["poetry-core"]
|
|
||||||
build-backend = "poetry.core.masonry.api"
|
|
@ -5,21 +5,16 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "fritz-exporter";
|
pname = "fritz-exporter";
|
||||||
version = "2.3.1";
|
version = "2.4.3";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pdreker";
|
owner = "pdreker";
|
||||||
repo = "fritz_exporter";
|
repo = "fritz_exporter";
|
||||||
rev = "fritzexporter-v${version}";
|
rev = "fritzexporter-v${version}";
|
||||||
hash = "sha256-Dv/2Og1OJV7canZ8Y5Pai5gPRUvcRDYmSGoD2pnAkSs=";
|
hash = "sha256-2A8hw2XkdxkauG+lMlKfObEvLHUQk79xWmlp0hlrXYM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://github.com/pdreker/fritz_exporter/pull/282
|
|
||||||
./console-script.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# don't test coverage
|
# don't test coverage
|
||||||
sed -i "/^addopts/d" pyproject.toml
|
sed -i "/^addopts/d" pyproject.toml
|
||||||
@ -31,6 +26,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
attrs
|
attrs
|
||||||
|
defusedxml
|
||||||
fritzconnection
|
fritzconnection
|
||||||
prometheus-client
|
prometheus-client
|
||||||
pyyaml
|
pyyaml
|
||||||
|
Loading…
Reference in New Issue
Block a user