seafile-server: add passthru.tests

This commit is contained in:
Robert Schütz 2022-01-30 22:00:33 +00:00
parent e4041ec226
commit adad47dfc2

View file

@ -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";