27 # seafile-server relies on a specific version of libevhtp.
28 # It contains non upstreamed patches and is forked off an outdated version.
29 libevhtp = import ./libevhtp.nix {
40 pname = "seafile-server";
43 src = fetchFromGitHub {
45 repo = "seafile-server";
46 rev = "5e6c0974e6abe5d92b8ba1db41c6ddbc1029f2d5"; # using a fixed revision because upstream may re-tag releases :/
47 hash = "sha256-BVa4QZiHPkqRB5FvDlCSbEVxdnyxVy2KuCDb2orRMuI=";
73 mkdir -p $out/share/seafile/sql
74 cp -r scripts/sql $out/share/seafile
78 inherit (nixosTests) seafile;
82 description = "File syncing and sharing software with file encryption and group sharing, emphasis on reliability and high performance";
83 homepage = "https://github.com/haiwen/seafile-server";
84 license = licenses.agpl3Plus;
85 platforms = platforms.linux;
86 maintainers = with maintainers; [
91 mainProgram = "seaf-server";