tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
borgmatic: Add passthru.tests.version
Damien Cassou
3 years ago
31d2aff2
dca7412a
+3
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
backup
borgmatic
default.nix
+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
'';
0
0
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";