diff --git a/pkgs/by-name/la/lasuite-docs-collaboration-server/package.nix b/pkgs/by-name/la/lasuite-docs-collaboration-server/package.nix index 5e16542be6a8..ace0692bf3fd 100644 --- a/pkgs/by-name/la/lasuite-docs-collaboration-server/package.nix +++ b/pkgs/by-name/la/lasuite-docs-collaboration-server/package.nix @@ -13,20 +13,20 @@ stdenv.mkDerivation (finalAttrs: { pname = "lasuite-docs-collaboration-server"; - version = "5.1.0"; + version = "5.2.0"; src = fetchFromGitHub { owner = "suitenumerique"; repo = "docs"; tag = "v${finalAttrs.version}"; - hash = "sha256-Ptg3C+5DbUiWVS8nMCmqmSFMmNI4NW8NYBF+G5xOqSg="; + hash = "sha256-38+pRhqCRUOGHZwcoeXZG+E/iM6SthhQPd4uT8WRUCs="; }; sourceRoot = "${finalAttrs.src.name}/src/frontend"; offlineCache = fetchYarnDeps { yarnLock = "${finalAttrs.src}/src/frontend/yarn.lock"; - hash = "sha256-GW60XK+iOM4A/Pyvh120MnNde8dPiZu46aOTfHOczZg="; + hash = "sha256-6uZF4op81QzYCAogvlcyZAkJsCqs72scyLKc1bc2QBU="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/la/lasuite-docs-frontend/package.nix b/pkgs/by-name/la/lasuite-docs-frontend/package.nix index 8ad50e89bbe5..546530033c9b 100644 --- a/pkgs/by-name/la/lasuite-docs-frontend/package.nix +++ b/pkgs/by-name/la/lasuite-docs-frontend/package.nix @@ -12,20 +12,20 @@ stdenv.mkDerivation (finalAttrs: { pname = "lasuite-docs-frontend"; - version = "5.1.0"; + version = "5.2.0"; src = fetchFromGitHub { owner = "suitenumerique"; repo = "docs"; tag = "v${finalAttrs.version}"; - hash = "sha256-Ptg3C+5DbUiWVS8nMCmqmSFMmNI4NW8NYBF+G5xOqSg="; + hash = "sha256-38+pRhqCRUOGHZwcoeXZG+E/iM6SthhQPd4uT8WRUCs="; }; sourceRoot = "${finalAttrs.src.name}/src/frontend"; offlineCache = fetchYarnDeps { yarnLock = "${finalAttrs.src}/src/frontend/yarn.lock"; - hash = "sha256-GW60XK+iOM4A/Pyvh120MnNde8dPiZu46aOTfHOczZg="; + hash = "sha256-6uZF4op81QzYCAogvlcyZAkJsCqs72scyLKc1bc2QBU="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/la/lasuite-docs/package.nix b/pkgs/by-name/la/lasuite-docs/package.nix index 39f940778262..cb4edac85e90 100644 --- a/pkgs/by-name/la/lasuite-docs/package.nix +++ b/pkgs/by-name/la/lasuite-docs/package.nix @@ -11,12 +11,12 @@ yarnConfigHook, }: let - version = "5.1.0"; + version = "5.2.0"; src = fetchFromGitHub { owner = "suitenumerique"; repo = "docs"; tag = "v${version}"; - hash = "sha256-Ptg3C+5DbUiWVS8nMCmqmSFMmNI4NW8NYBF+G5xOqSg="; + hash = "sha256-38+pRhqCRUOGHZwcoeXZG+E/iM6SthhQPd4uT8WRUCs="; }; mail-templates = stdenv.mkDerivation { @@ -29,7 +29,7 @@ let offlineCache = fetchYarnDeps { yarnLock = "${src}/src/mail/yarn.lock"; - hash = "sha256-CKKGY87C5ifv0sHm9ExCzaGM3mV4C0NsWLCbw+ALqGc="; + hash = "sha256-MYzADDcXHGieGkygmlbZQbYcS68NdKWyHYGgoSaqDO8="; }; nativeBuildInputs = [ @@ -52,13 +52,6 @@ python3Packages.buildPythonApplication (finalAttrs: { patches = [ # Support configuration throught environment variables for SECURE_* ./secure_settings.patch - - # Fix creation of unsafe C function in postgresql migrations - ./postgresql_fix.patch - - # Fix installing all modules with uv_build - # https://github.com/suitenumerique/docs/pull/2295 - ./uv.patch ]; # They use a old version of mistralai which exported a class @@ -91,6 +84,7 @@ python3Packages.buildPythonApplication (finalAttrs: { boto3 celery emoji + dj-database-url django django-configurations django-cors-headers @@ -120,6 +114,7 @@ python3Packages.buildPythonApplication (finalAttrs: { mozilla-django-oidc nested-multipart-parser openai + posthog psycopg pycrdt pydantic-ai-slim diff --git a/pkgs/by-name/la/lasuite-docs/postgresql_fix.patch b/pkgs/by-name/la/lasuite-docs/postgresql_fix.patch deleted file mode 100644 index d15988dad623..000000000000 --- a/pkgs/by-name/la/lasuite-docs/postgresql_fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/core/migrations/0027_auto_20251120_0956.py b/core/migrations/0027_auto_20251120_0956.py -index fe795ff5..0db2090c 100644 ---- a/core/migrations/0027_auto_20251120_0956.py -+++ b/core/migrations/0027_auto_20251120_0956.py -@@ -11,11 +11,6 @@ class Migration(migrations.Migration): - operations = [ - migrations.RunSQL( - sql=""" -- CREATE OR REPLACE FUNCTION public.immutable_unaccent(regdictionary, text) -- RETURNS text -- LANGUAGE c IMMUTABLE PARALLEL SAFE STRICT AS -- '$libdir/unaccent', 'unaccent_dict'; -- - CREATE OR REPLACE FUNCTION public.f_unaccent(text) - RETURNS text - LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT diff --git a/pkgs/by-name/la/lasuite-docs/uv.patch b/pkgs/by-name/la/lasuite-docs/uv.patch deleted file mode 100644 index 7afa3ffe0bf8..000000000000 --- a/pkgs/by-name/la/lasuite-docs/uv.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/__init__.py b/__init__.py -deleted file mode 100644 -index e69de29b..00000000 -diff --git a/pyproject.toml b/pyproject.toml -index eb8ef0a0..dbb9f619 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -97,6 +97,11 @@ dev = [ - ] - - [tool.uv.build-backend] -+module-name = [ -+ "core", -+ "demo", -+ "impress" -+] - module-root = "" - source-exclude = [ - "**/tests/**",