Loading pkgs/by-name/pr/prometheus-borgmatic-exporter/package.nix +13 −9 Original line number Diff line number Diff line { lib, borgmatic, fetchFromGitHub, python3Packages, borgmatic, }: python3Packages.buildPythonApplication rec { pname = "prometheus-borgmatic-exporter"; version = "0.2.5"; Loading @@ -12,23 +13,20 @@ python3Packages.buildPythonApplication rec { src = fetchFromGitHub { owner = "maxim-mityutko"; repo = "borgmatic-exporter"; rev = "v${version}"; rev = "refs/tags/v${version}"; hash = "sha256-SgP1utu4Eqs9214pYOT9wP0Ms7AUQH1A3czQF8+qBRo="; }; nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-mock ]; pythonRelaxDeps = [ "prometheus-client" ]; buildInputs = [python3Packages.poetry-core]; build-system = with python3Packages; [ poetry-core ]; propagatedBuildInputs = [ borgmatic ] ++ (with python3Packages; [ flask arrow click flask loguru pretty-errors prometheus-client Loading @@ -36,9 +34,15 @@ python3Packages.buildPythonApplication rec { waitress ]); nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-mock ]; meta = with lib; { description = "Prometheus exporter for Borgmatic"; homepage = "https://github.com/maxim-mityutko/borgmatic-exporter"; changelog = "https://github.com/maxim-mityutko/borgmatic-exporter/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ flandweber ]; mainProgram = "borgmatic-exporter"; Loading Loading
pkgs/by-name/pr/prometheus-borgmatic-exporter/package.nix +13 −9 Original line number Diff line number Diff line { lib, borgmatic, fetchFromGitHub, python3Packages, borgmatic, }: python3Packages.buildPythonApplication rec { pname = "prometheus-borgmatic-exporter"; version = "0.2.5"; Loading @@ -12,23 +13,20 @@ python3Packages.buildPythonApplication rec { src = fetchFromGitHub { owner = "maxim-mityutko"; repo = "borgmatic-exporter"; rev = "v${version}"; rev = "refs/tags/v${version}"; hash = "sha256-SgP1utu4Eqs9214pYOT9wP0Ms7AUQH1A3czQF8+qBRo="; }; nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-mock ]; pythonRelaxDeps = [ "prometheus-client" ]; buildInputs = [python3Packages.poetry-core]; build-system = with python3Packages; [ poetry-core ]; propagatedBuildInputs = [ borgmatic ] ++ (with python3Packages; [ flask arrow click flask loguru pretty-errors prometheus-client Loading @@ -36,9 +34,15 @@ python3Packages.buildPythonApplication rec { waitress ]); nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-mock ]; meta = with lib; { description = "Prometheus exporter for Borgmatic"; homepage = "https://github.com/maxim-mityutko/borgmatic-exporter"; changelog = "https://github.com/maxim-mityutko/borgmatic-exporter/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ flandweber ]; mainProgram = "borgmatic-exporter"; Loading