9 python = python3.override {
10 packageOverrides = self: super: {
11 django = super.django_3;
15 python.pkgs.buildPythonApplication rec {
20 src = fetchFromGitHub {
23 rev = "e8c02236c0eaca6dde009872745f089da4b77e6e"; # using a fixed revision because upstream may re-tag releases :/
24 sha256 = "sha256-7JXWKEFqCsC+ZByhvyP8AmDpajT3hpgyYDNUqc3wXyg=";
30 url = "https://patch-diff.githubusercontent.com/raw/haiwen/seahub/pull/5570.patch";
31 sha256 = "sha256-7V2aRlacJ7Qhdi9k4Bs+t/Emx+EAM/NNCI+K40bMwLA=";
37 doCheck = false; # disabled because it requires a ccnet environment
43 propagatedBuildInputs = with python.pkgs; [
71 cp -dr --no-preserve='ownership' . $out/
72 wrapProgram $out/manage.py \
73 --prefix PYTHONPATH : "$PYTHONPATH:$out/thirdpart:"
78 pythonPath = python.pkgs.makePythonPath propagatedBuildInputs;
80 inherit (nixosTests) seafile;
85 description = "The web end of seafile server";
86 homepage = "https://github.com/haiwen/seahub";
87 license = licenses.asl20;
88 maintainers = with maintainers; [ greizgh schmittlauch ];
89 platforms = platforms.linux;