seafile-server: add passthru.tests

main
Robert Schütz 2 years ago
parent e4041ec226
commit adad47dfc2
  1. 6
      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";

Loading…
Cancel
Save