aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2023-10-26 23:24:47 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2023-10-27 00:13:38 +0200
commitea8a30bb052f8341703baa7a3e2d3e660fc08e7f (patch)
tree2e7d4f4696031f4b5d3bebf729e7a7d4d2644066
parent6ce9fbebb8f1da12911e40ad9b01666c3df42b60 (diff)
downloadNix-ea8a30bb052f8341703baa7a3e2d3e660fc08e7f.tar.gz
Nix-ea8a30bb052f8341703baa7a3e2d3e660fc08e7f.tar.zst
Nix-ea8a30bb052f8341703baa7a3e2d3e660fc08e7f.zip
Upgrade spip and roundcube
-rw-r--r--flakes/mypackages/pkgs/webapps/roundcubemail/default.nix4
-rw-r--r--flakes/mypackages/pkgs/webapps/spip/default.nix7
2 files changed, 6 insertions, 5 deletions
diff --git a/flakes/mypackages/pkgs/webapps/roundcubemail/default.nix b/flakes/mypackages/pkgs/webapps/roundcubemail/default.nix
index bdddf2f..a786e86 100644
--- a/flakes/mypackages/pkgs/webapps/roundcubemail/default.nix
+++ b/flakes/mypackages/pkgs/webapps/roundcubemail/default.nix
@@ -57,11 +57,11 @@ let
57 sha256 = "0j46y9ack2yq67naca6nfysbmyilwjlkl29dbswidf1lq09yhhj3"; 57 sha256 = "0j46y9ack2yq67naca6nfysbmyilwjlkl29dbswidf1lq09yhhj3";
58 }; 58 };
59 package = stdenv.mkDerivation rec { 59 package = stdenv.mkDerivation rec {
60 version = "1.4.4"; 60 version = "1.4.15";
61 name = "roundcubemail-${version}"; 61 name = "roundcubemail-${version}";
62 src= fetchurl { 62 src= fetchurl {
63 url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/${name}-complete.tar.gz"; 63 url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/${name}-complete.tar.gz";
64 sha256 = "1my726p0wmsn21nbdsjx02h6hnbh8nidzipzdy0gk0qgda1j729b"; 64 sha256 = "sha256-0CRVGmPCjMOUPEELpWk93TifchXUbzhUvS55IOgaAh8=";
65 }; 65 };
66 patches = [ ./add_all.patch ]; # This patch includes js modification which requires to re-run the jsshrink below 66 patches = [ ./add_all.patch ]; # This patch includes js modification which requires to re-run the jsshrink below
67 buildInputs = [ unzip jre ]; 67 buildInputs = [ unzip jre ];
diff --git a/flakes/mypackages/pkgs/webapps/spip/default.nix b/flakes/mypackages/pkgs/webapps/spip/default.nix
index 20d5c8c..3f335a7 100644
--- a/flakes/mypackages/pkgs/webapps/spip/default.nix
+++ b/flakes/mypackages/pkgs/webapps/spip/default.nix
@@ -7,10 +7,11 @@
7let 7let
8 app = stdenv.mkDerivation rec { 8 app = stdenv.mkDerivation rec {
9 name = "${siteName}-${environment}-spip-${version}"; 9 name = "${siteName}-${environment}-spip-${version}";
10 version = "3.2.7"; 10 version = "3.2.18";
11 src = fetchzip { 11 src = fetchzip {
12 url = "https://files.spip.net/spip/archives/SPIP-v${version}.zip"; 12 url = "https://files.spip.net/spip/archives/spip-v${version}.zip";
13 sha256 = "0n4kc95nhn524zbb11bpfjs965pm4v026s3m3q44pl8nyms91r33"; 13 sha256 = "sha256-KNw9G3PEHpVvsBvKsZfqNaymhwHkJ28F8a44qr5tQyw=";
14 stripRoot = false;
14 }; 15 };
15 paches = lib.optionals ldap [ ./spip_ldap_patch.patch ]; 16 paches = lib.optionals ldap [ ./spip_ldap_patch.patch ];
16 buildPhase = '' 17 buildPhase = ''