add further dependencies

This commit is contained in:
Trolli Schmittlauch 2019-10-09 00:54:28 +02:00
parent 1a8a6b7927
commit 2011cc3c9a
4 changed files with 56 additions and 5 deletions

View file

@ -15,7 +15,7 @@
sha256 = "sha256:0r3vw145vzhbipwk4cyj1h7sb3szy5hcp36n3pf2jxpwy365ir92";
};
nativeBuildInputs = [ autoconf automake libtool pkgconfig autoreconfHook ];
buildInputs = [ sqlite glib python27 libuuid openssl ];
buildInputs = [ sqlite glib python27 libuuid openssl ccnet fuse libarchive ];
checkPhase = "bash ./run_tests.sh";
};
seahub = python27Packages.buildPythonApplication rec {
@ -60,10 +60,17 @@
sha256 = "sha256:0yfq8fvz17l0295kkpj95f33gwm31ikyhymxq4fy088q608vd8g5";
};
buildInputs = [ vala libsearpc ]
buildInputs = [ vala libsearpc libuuid sqlite openssl libevent glib python27 ]
++ lib.optional (!withMysql) "--without-mysql";
nativeBuildInputs = [ autoconf automake libtool ];
preConfigure = "bash autogen.sh";
nativeBuildInputs = [ autoconf automake libtool pkgconfig autoreconfHook ];
configureFlags = [ "--disable-static" ];
# generate required searpc header files
preBuildPhases = ''
pwd
cd ./lib/
${python27} ${libsearpc}/bin/searpc-codegen.py rpc_table.py
cd -
'';
meta = {
description = "Internal communication framework and user/group management for Seafile server";
@ -79,4 +86,5 @@
++ lib.optional withMysql libmysql;
phases = [ "installPhase" "fixupPhase" "distPhase" ];
# todo: create data directory in /srv in activation script
inherit ccnet-server;
}