borgmatic: Add passthru.tests.version
This commit is contained in:
parent
dca7412a8b
commit
31d2aff243
@ -1,4 +1,4 @@
|
||||
{ borgbackup, coreutils, lib, python3Packages, systemd, installShellFiles }:
|
||||
{ borgbackup, coreutils, lib, python3Packages, systemd, installShellFiles, borgmatic, testers }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "borgmatic";
|
||||
@ -41,6 +41,8 @@ python3Packages.buildPythonApplication rec {
|
||||
--replace sleep ${coreutils}/bin/sleep
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = borgmatic; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple, configuration-driven backup software for servers and workstations";
|
||||
homepage = "https://torsion.org/borgmatic/";
|
||||
|
Loading…
Reference in New Issue
Block a user