seafile-server: add passthru.tests
This commit is contained in:
parent
e4041ec226
commit
adad47dfc2
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, pkg-config, python3, autoreconfHook
|
{ stdenv, lib, fetchFromGitHub, pkg-config, python3, autoreconfHook
|
||||||
, libuuid, sqlite, glib, libevent, libsearpc, openssl, fuse, libarchive, which
|
, libuuid, sqlite, glib, libevent, libsearpc, openssl, fuse, libarchive, which
|
||||||
, vala, cmake, oniguruma }:
|
, vala, cmake, oniguruma, nixosTests }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# seafile-server relies on a specific version of libevhtp.
|
# seafile-server relies on a specific version of libevhtp.
|
||||||
|
@ -42,6 +42,10 @@ in stdenv.mkDerivation rec {
|
||||||
cp -r scripts/sql $out/share/seafile
|
cp -r scripts/sql $out/share/seafile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) seafile;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "File syncing and sharing software with file encryption and group sharing, emphasis on reliability and high performance";
|
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";
|
homepage = "https://github.com/haiwen/seafile-server";
|
||||||
|
|
Loading…
Reference in a new issue