aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/cryptpad/build/default.nix
diff options
context:
space:
mode:
authorKokaKiwi <kokakiwi+git@kokakiwi.net>2024-05-23 22:22:07 +0200
committerKokaKiwi <kokakiwi+git@kokakiwi.net>2024-05-23 22:22:07 +0200
commit09c3d618e61f16634e4402196fc35fe3ee33089e (patch)
treeb31e5ec057a4e08d3e61be5ea8181bc83724fbd8 /cluster/prod/app/cryptpad/build/default.nix
parentebfdc6d1a3ae7bb9f88f34b4fa6f4d7fb0260168 (diff)
downloadnixcfg-09c3d618e61f16634e4402196fc35fe3ee33089e.tar.gz
nixcfg-09c3d618e61f16634e4402196fc35fe3ee33089e.zip
cluster/prod(app): Upgrade cryptpad from 2024.3.0 to 2024.3.1
Diffstat (limited to 'cluster/prod/app/cryptpad/build/default.nix')
-rw-r--r--cluster/prod/app/cryptpad/build/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/cluster/prod/app/cryptpad/build/default.nix b/cluster/prod/app/cryptpad/build/default.nix
index ce694aa..c853a38 100644
--- a/cluster/prod/app/cryptpad/build/default.nix
+++ b/cluster/prod/app/cryptpad/build/default.nix
@@ -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";
};
}