borgbackup: add passthru.tests

This commit is contained in:
Robert Schütz 2021-03-23 12:08:12 +01:00
parent 6761a8ebf6
commit 966e0302d5

View File

@ -1,4 +1,4 @@
{ lib, stdenv, python3, acl, libb2, lz4, zstd, openssl, openssh }:
{ lib, stdenv, python3, acl, libb2, lz4, zstd, openssl, openssh, nixosTests }:
python3.pkgs.buildPythonApplication rec {
pname = "borgbackup";
@ -61,6 +61,10 @@ python3.pkgs.buildPythonApplication rec {
# 64 failures, needs pytest-benchmark
doCheck = false;
passthru.tests = {
inherit (nixosTests) borgbackup;
};
meta = with lib; {
description = "Deduplicating archiver with compression and encryption";
homepage = "https://www.borgbackup.org";