From e25d9e7af9f71d773f682d108a337d21ef2d4104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=B9=82=E0=B8=97=E0=B8=AA=E0=B8=BA=E0=B8=95=E0=B8=B1?= =?UTF-8?q?=E0=B8=A5?= Date: Fri, 4 Apr 2025 19:06:27 +0700 Subject: [PATCH 1/2] =?UTF-8?q?movim:=200.29.2=20=E2=86=92=200.30?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://mov.im/community/pubsub.movim.eu/Movim/good-news-everyone-movim-0-30-encke-is-there-xMvYPr --- pkgs/by-name/mo/movim/package.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/mo/movim/package.nix b/pkgs/by-name/mo/movim/package.nix index 463cc274b641..c30174451b17 100644 --- a/pkgs/by-name/mo/movim/package.nix +++ b/pkgs/by-name/mo/movim/package.nix @@ -44,13 +44,13 @@ let in php.buildComposerProject2 (finalAttrs: { pname = "movim"; - version = "0.29.2"; + version = "0.30"; src = fetchFromGitHub { owner = "movim"; repo = "movim"; tag = "v${finalAttrs.version}"; - hash = "sha256-/u8/9tn0X+IwXKyK3S5uA9X8IRsg5xDdUPpnvxOIaYc="; + hash = "sha256-rW751UhDBhakOrAT4BOiRDPpGldf1EwNZY8iavXlpLk="; }; php = php.buildEnv ( @@ -94,11 +94,7 @@ php.buildComposerProject2 (finalAttrs: { ++ lib.optional minify.style.enable lightningcss ++ lib.optional minify.svg.enable scour; - # no listed license - # pinned commonmark - composerStrictValidation = false; - - vendorHash = "sha256-ikIAIPq8Yj27vGmJxeViYJ5SWiZtE68CIE526glZPlo="; + vendorHash = "sha256-NuX6CX2QXea8BcL0nzFOdxIBs36igD8lvixna+vsviM="; postPatch = '' # Our modules are already wrapped, removes missing *.so warnings; From 79642eb580a285c1931a091a73016f5d3ae8eb4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=B9=82=E0=B8=97=E0=B8=AA=E0=B8=BA=E0=B8=95=E0=B8=B1?= =?UTF-8?q?=E0=B8=A5?= Date: Fri, 4 Apr 2025 19:09:26 +0700 Subject: [PATCH 2/2] movim: with all; removed nixfmt does not provide a good experience for this sort of shorthand which becomes very difficult to read as a result. --- pkgs/by-name/mo/movim/package.nix | 42 +++++++++++++------------------ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/pkgs/by-name/mo/movim/package.nix b/pkgs/by-name/mo/movim/package.nix index c30174451b17..b4a5655a243d 100644 --- a/pkgs/by-name/mo/movim/package.nix +++ b/pkgs/by-name/mo/movim/package.nix @@ -58,30 +58,24 @@ php.buildComposerProject2 (finalAttrs: { extensions = ( { all, enabled }: enabled - ++ (with all; [ - curl - dom - gd - imagick - mbstring - pdo - simplexml - ]) - ++ lib.optionals withPostgreSQL ( - with all; - [ - pdo_pgsql - pgsql - ] - ) - ++ lib.optionals withMySQL ( - with all; - [ - mysqli - mysqlnd - pdo_mysql - ] - ) + ++ [ + all.curl + all.dom + all.gd + all.imagick + all.mbstring + all.pdo + all.simplexml + ] + ++ lib.optionals withPostgreSQL [ + all.pdo_pgsql + all.pgsql + ] + ++ lib.optionals withMySQL [ + all.mysqli + all.mysqlnd + all.pdo_mysql + ] ); } // lib.optionalAttrs (phpCfg != null) {