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