25 # seafile-server relies on a specific version of libevhtp.
26 # It contains non upstreamed patches and is forked off an outdated version.
27 libevhtp = import ./libevhtp.nix {
28 inherit stdenv lib fetchFromGitHub cmake libevent;
31 stdenv.mkDerivation rec {
32 pname = "seafile-server";
35 src = fetchFromGitHub {
37 repo = "seafile-server";
38 rev = "db09baec1b88fc131bf4453a808ab63a3fc714c9"; # using a fixed revision because upstream may re-tag releases :/
39 sha256 = "sha256-a5vtJcbnaYzq6/3xmhbWk23BZ+Wil/Tb/q22ML4bDqs=";
42 nativeBuildInputs = [ autoreconfHook pkg-config ];
63 mkdir -p $out/share/seafile/sql
64 cp -r scripts/sql $out/share/seafile
68 inherit (nixosTests) seafile;
72 description = "File syncing and sharing software with file encryption and group sharing, emphasis on reliability and high performance";
73 homepage = "https://github.com/haiwen/seafile-server";
74 license = licenses.agpl3Plus;
75 platforms = platforms.linux;
76 maintainers = with maintainers; [ greizgh schmittlauch ];