Upgrade cryptpad from 2024.3.0 to 2024.3.1 #27

Merged
baptiste merged 2 commits from KokaKiwi/nixcfg:update-cryptpad-2024.3.1 into main 2024-06-23 09:05:42 +00:00
2 changed files with 9 additions and 6009 deletions
Showing only changes of commit 09c3d618e6 - Show all commits

View file

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

File diff suppressed because it is too large Load diff