9 python3.pkgs.buildPythonApplication rec {
14 src = fetchFromGitHub {
17 rev = "d998361dd890cac3f6d6ebec3af47a589e0332bc"; # using a fixed revision because upstream may re-tag releases :/
18 hash = "sha256-n56sRZ9TVb37JA0+12ZoF2Mt7dADjaYk7V0PmdBY0EU=";
23 doCheck = false; # disabled because it requires a ccnet environment
25 nativeBuildInputs = [ makeWrapper ];
27 propagatedBuildInputs = with python3.pkgs; [
55 (python3.pkgs.toPythonModule (seafile-server.override { inherit python3; }))
59 substituteInPlace seahub/settings.py --replace-fail "SEAFILE_VERSION = '6.3.3'" "SEAFILE_VERSION = '${version}'"
63 cp -dr --no-preserve='ownership' . $out/
64 wrapProgram $out/manage.py \
65 --prefix PYTHONPATH : "$PYTHONPATH:$out/thirdpart:"
70 pythonPath = python3.pkgs.makePythonPath propagatedBuildInputs;
72 inherit (nixosTests) seafile;
74 inherit seafile-server;
78 description = "Web end of seafile server";
79 homepage = "https://github.com/haiwen/seahub";
80 license = licenses.asl20;
81 maintainers = with maintainers; [
86 platforms = platforms.linux;