about summary refs log tree commit diff
path: root/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix')
-rw-r--r--pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix62
1 files changed, 0 insertions, 62 deletions
diff --git a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix
deleted file mode 100644
index 3968f0b5c11c..000000000000
--- a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix
+++ /dev/null
@@ -1,62 +0,0 @@
-{ lib
-, python3
-, fetchFromGitHub
-}:
-
-python3.pkgs.buildPythonApplication rec {
-  pname = "dmarc-metrics-exporter";
-  version = "1.0.0";
-
-  disabled = python3.pythonOlder "3.8";
-
-  pyproject = true;
-
-  src = fetchFromGitHub {
-    owner = "jgosmann";
-    repo = "dmarc-metrics-exporter";
-    rev = "refs/tags/v${version}";
-    hash = "sha256-pT2GGoNPCHBZZbbBE93cJjgogBNcdpvLmrVakNMu6tY=";
-  };
-
-  pythonRelaxDeps = true;
-
-  nativeBuildInputs = with python3.pkgs; [
-    poetry-core
-    pythonRelaxDepsHook
-  ];
-
-  propagatedBuildInputs = with python3.pkgs; [
-    bite-parser
-    dataclasses-serialization
-    prometheus-client
-    structlog
-    uvicorn
-    xsdata
-  ]
-  ++ uvicorn.optional-dependencies.standard;
-
-  nativeCheckInputs = with python3.pkgs; [
-    aiohttp
-    pytest-asyncio
-    pytestCheckHook
-    requests
-  ];
-
-  disabledTestPaths = [
-    # require networking
-    "dmarc_metrics_exporter/tests/test_e2e.py"
-    "dmarc_metrics_exporter/tests/test_imap_client.py"
-    "dmarc_metrics_exporter/tests/test_imap_queue.py"
-  ];
-
-  pythonImportsCheck = [ "dmarc_metrics_exporter" ];
-
-  meta = {
-    description = "Export Prometheus metrics from DMARC reports";
-    mainProgram = "dmarc-metrics-exporter";
-    homepage = "https://github.com/jgosmann/dmarc-metrics-exporter";
-    changelog = "https://github.com/jgosmann/dmarc-metrics-exporter/blob/v${version}/CHANGELOG.rst";
-    license = lib.licenses.mit;
-    maintainers = with lib.maintainers; [ ma27 ];
-  };
-}