From 6465365d48a0dffa5ee4565c6d6723c70264baaa Mon Sep 17 00:00:00 2001 From: melvyn Date: Tue, 2 Sep 2025 09:10:09 -0400 Subject: [PATCH] seahub: drop --- pkgs/by-name/se/seahub/package.nix | 87 ------------------------------ pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 87 deletions(-) delete mode 100644 pkgs/by-name/se/seahub/package.nix diff --git a/pkgs/by-name/se/seahub/package.nix b/pkgs/by-name/se/seahub/package.nix deleted file mode 100644 index b3c8baf90114..000000000000 --- a/pkgs/by-name/se/seahub/package.nix +++ /dev/null @@ -1,87 +0,0 @@ -{ - lib, - fetchFromGitHub, - python3, - makeWrapper, - nixosTests, - seafile-server, -}: -python3.pkgs.buildPythonApplication rec { - pname = "seahub"; - version = "11.0.12"; - pyproject = false; - - src = fetchFromGitHub { - owner = "haiwen"; - repo = "seahub"; - rev = "d998361dd890cac3f6d6ebec3af47a589e0332bc"; # using a fixed revision because upstream may re-tag releases :/ - hash = "sha256-n56sRZ9TVb37JA0+12ZoF2Mt7dADjaYk7V0PmdBY0EU="; - }; - - dontBuild = true; - - doCheck = false; # disabled because it requires a ccnet environment - - nativeBuildInputs = [ makeWrapper ]; - - propagatedBuildInputs = with python3.pkgs; [ - django - django-compressor - django-statici18n - django-webpack-loader - django-simple-captcha - django-picklefield - django-formtools - djangosaml2 - mysqlclient - pillow - python-dateutil - djangorestframework - openpyxl - requests - requests-oauthlib - chardet - pyjwt - pycryptodome - pyopenssl - python-ldap - qrcode - pysearpc - gunicorn - markdown - bleach - - (python3.pkgs.toPythonModule (seafile-server.override { inherit python3; })) - ]; - - postPatch = '' - substituteInPlace seahub/settings.py --replace-fail "SEAFILE_VERSION = '6.3.3'" "SEAFILE_VERSION = '${version}'" - substituteInPlace thirdpart/constance/management/commands/constance.py --replace-fail \ - "from __future__ import unicode_literals" "" - ''; - - installPhase = '' - cp -dr --no-preserve='ownership' . $out/ - wrapProgram $out/manage.py \ - --prefix PYTHONPATH : "$PYTHONPATH:$out/thirdpart:" - ''; - - passthru = { - inherit python3; - pythonPath = python3.pkgs.makePythonPath propagatedBuildInputs; - tests = { - inherit (nixosTests) seafile; - }; - inherit seafile-server; - }; - - meta = { - description = "Web end of seafile server"; - homepage = "https://github.com/haiwen/seahub"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ - melvyn2 - ]; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index f98b92023e37..3de142070c1f 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2104,6 +2104,7 @@ mapAliases { scry = throw "'scry' has been removed as it was archived upstream. Use 'crystalline' instead"; # Added 2025-02-12 scudcloud = throw "'scudcloud' has been removed as it was archived by upstream"; # Added 2025-07-24 seafile-server = throw "'seafile-server' has been removed as it is unmaintained"; # Added 2025-08-21 + seahub = throw "'seahub' has been removed as it is unmaintained"; # Added 2025-08-21 semeru-bin-16 = throw "Semeru 16 has been removed as it has reached its end of life"; # Added 2024-08-01 semeru-jre-bin-16 = throw "Semeru 16 has been removed as it has reached its end of life"; # Added 2024-08-01 sensu = throw "sensu has been removed as the upstream project is deprecated. Consider using `sensu-go`"; # Added 2024-10-28