borgmatic: Add passthru.tests.version

+3 -1
+3 -1
pkgs/tools/backup/borgmatic/default.nix
··· 1 - { borgbackup, coreutils, lib, python3Packages, systemd, installShellFiles }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "borgmatic"; ··· 40 --replace systemd-inhibit ${systemd}/bin/systemd-inhibit \ 41 --replace sleep ${coreutils}/bin/sleep 42 ''; 43 44 meta = with lib; { 45 description = "Simple, configuration-driven backup software for servers and workstations";
··· 1 + { borgbackup, coreutils, lib, python3Packages, systemd, installShellFiles, borgmatic, testers }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "borgmatic"; ··· 40 --replace systemd-inhibit ${systemd}/bin/systemd-inhibit \ 41 --replace sleep ${coreutils}/bin/sleep 42 ''; 43 + 44 + passthru.tests.version = testers.testVersion { package = borgmatic; }; 45 46 meta = with lib; { 47 description = "Simple, configuration-driven backup software for servers and workstations";