mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
lasuite-docs{,-frontend,-collaboration-server}: 5.1.0 -> 5.2.0
ChangeLog: https://github.com/suitenumerique/docs/releases/tag/v5.2.0
This commit is contained in:
parent
4ad7a06b58
commit
8860bade93
5 changed files with 11 additions and 51 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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/**",
|
||||
Loading…
Add table
Add a link
Reference in a new issue