8 python3Packages.buildPythonApplication rec {
9 pname = "prometheus-borgmatic-exporter";
13 src = fetchFromGitHub {
14 owner = "maxim-mityutko";
15 repo = "borgmatic-exporter";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-ZZdCuIavJrIHO/ayMnirNRYyqovKQaW5jTRRrSOhofQ=";
20 pythonRelaxDeps = [ "prometheus-client" ];
22 build-system = with python3Packages; [ poetry-core ];
24 propagatedBuildInputs =
26 ++ (with python3Packages; [
37 nativeCheckInputs = with python3Packages; [
43 description = "Prometheus exporter for Borgmatic";
44 homepage = "https://github.com/maxim-mityutko/borgmatic-exporter";
45 changelog = "https://github.com/maxim-mityutko/borgmatic-exporter/releases/tag/v${version}";
46 license = licenses.mit;
47 maintainers = with maintainers; [ flandweber ];
48 mainProgram = "borgmatic-exporter";
49 platforms = platforms.unix;