cluster/prod(app): Upgrade cryptpad from 2024.3.0 to 2024.3.1

This commit is contained in:
Jill 2024-05-23 22:22:07 +02:00
parent ebfdc6d1a3
commit 09c3d618e6
Signed by: KokaKiwi
GPG key ID: 09A5A2688F13FAC1
2 changed files with 9 additions and 6009 deletions

View file

@ -30,8 +30,8 @@
hash = "sha256-BZdExj2q/bqUD3k9uluOot2dlrWKA+vpad49EdgXKww="; hash = "sha256-BZdExj2q/bqUD3k9uluOot2dlrWKA+vpad49EdgXKww=";
}; };
v7 = { v7 = {
rev = "9d8b914a81f0f9e5d0bc3f0fc631adf4b6d480e7"; rev = "ba82142ff242ce385804bcb4287126de52d329f3";
hash = "sha256-M+rPJ/Xo2olhqB5ViynGRaesMLLfG/1ltUoLnepMPnM="; hash = "sha256-3WX3dTWJoeApon1AH3XplBIvEosVNzchkjgi2C808B4=";
}; };
}; };
mkOnlyOffice = { mkOnlyOffice = {
@ -61,16 +61,16 @@
}); });
in buildNpmPackage rec { in buildNpmPackage rec {
pname = "cryptpad"; pname = "cryptpad";
version = "2024.3.0"; version = "2024.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cryptpad"; owner = "cryptpad";
repo = "cryptpad"; repo = "cryptpad";
rev = version; rev = version;
hash = "sha256-VUW6KvoSatk1/hlzklMQYlSNVH/tdbH+yU4ONUQ0JSQ="; hash = "sha256-kXghuktaKicFOz98Siy/OjJ9rlgy6C2BTKkD2OFLE+k=";
}; };
npmDepsHash = "sha256-tvTkoxxioPuNoe8KIuXSP7QQbvcpxMnygsMmzKBQIY0="; npmDepsHash = "sha256-fjImdtv0bwgdDvl/BXV0DesreOAW2u8HsNqJ13hrJMw=";
inherit nodejs; inherit nodejs;
@ -81,10 +81,6 @@ in buildNpmPackage rec {
makeCacheWritable = true; makeCacheWritable = true;
dontFixup = true; dontFixup = true;
postPatch = ''
cp -T ${./package-lock.json} package-lock.json
'';
preBuild = '' preBuild = ''
npm run install:components npm run install:components
'' + lib.optionalString withOnlyOffice '' '' + lib.optionalString withOnlyOffice ''
@ -112,7 +108,11 @@ in buildNpmPackage rec {
''; '';
meta = { meta = {
description = "Collaborative office suite, end-to-end encrypted and open-source.";
homepage = "https://cryptpad.org"; homepage = "https://cryptpad.org";
changelog = "https://github.com/cryptpad/cryptpad/releases/tag/${version}";
license = lib.licenses.agpl3Plus;
platforms = lib.platforms.all;
mainProgram = "cryptpad-server"; mainProgram = "cryptpad-server";
}; };
} }

File diff suppressed because it is too large Load diff