From adad47dfc2a0b58c52dbee9131b7e6b2e6441ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 30 Jan 2022 22:00:33 +0000 Subject: [PATCH] seafile-server: add passthru.tests --- pkgs/servers/seafile-server/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/seafile-server/default.nix b/pkgs/servers/seafile-server/default.nix index 5303f2e78de8..526bc456acc5 100644 --- a/pkgs/servers/seafile-server/default.nix +++ b/pkgs/servers/seafile-server/default.nix @@ -1,6 +1,6 @@ { stdenv, lib, fetchFromGitHub, pkg-config, python3, autoreconfHook , libuuid, sqlite, glib, libevent, libsearpc, openssl, fuse, libarchive, which -, vala, cmake, oniguruma }: +, vala, cmake, oniguruma, nixosTests }: let # seafile-server relies on a specific version of libevhtp. @@ -42,6 +42,10 @@ in stdenv.mkDerivation rec { cp -r scripts/sql $out/share/seafile ''; + passthru.tests = { + inherit (nixosTests) seafile; + }; + meta = with lib; { description = "File syncing and sharing software with file encryption and group sharing, emphasis on reliability and high performance"; homepage = "https://github.com/haiwen/seafile-server";