Loading pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix +23 −15 Original line number Diff line number Diff line { lib , python3 , fetchFromGitHub { lib, stdenv, python3, fetchFromGitHub, }: python3.pkgs.buildPythonApplication rec { pname = "dmarc-metrics-exporter"; version = "1.1.0"; disabled = python3.pythonOlder "3.8"; pyproject = true; src = fetchFromGitHub { Loading @@ -20,11 +20,13 @@ python3.pkgs.buildPythonApplication rec { pythonRelaxDeps = true; nativeBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [ poetry-core ]; propagatedBuildInputs = with python3.pkgs; [ dependencies = with python3.pkgs; [ bite-parser dataclasses-serialization prometheus-client Loading @@ -41,6 +43,12 @@ python3.pkgs.buildPythonApplication rec { requests ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # flaky tests "test_build_info" "test_prometheus_exporter" ]; disabledTestPaths = [ # require networking "dmarc_metrics_exporter/tests/test_e2e.py" Loading Loading
pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix +23 −15 Original line number Diff line number Diff line { lib , python3 , fetchFromGitHub { lib, stdenv, python3, fetchFromGitHub, }: python3.pkgs.buildPythonApplication rec { pname = "dmarc-metrics-exporter"; version = "1.1.0"; disabled = python3.pythonOlder "3.8"; pyproject = true; src = fetchFromGitHub { Loading @@ -20,11 +20,13 @@ python3.pkgs.buildPythonApplication rec { pythonRelaxDeps = true; nativeBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [ poetry-core ]; propagatedBuildInputs = with python3.pkgs; [ dependencies = with python3.pkgs; [ bite-parser dataclasses-serialization prometheus-client Loading @@ -41,6 +43,12 @@ python3.pkgs.buildPythonApplication rec { requests ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # flaky tests "test_build_info" "test_prometheus_exporter" ]; disabledTestPaths = [ # require networking "dmarc_metrics_exporter/tests/test_e2e.py" Loading