movim: 0.29.2 → 0.30 (#396020)
This commit is contained in:
@@ -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 (
|
||||
@@ -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) {
|
||||
@@ -94,11 +88,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;
|
||||
|
||||
Reference in New Issue
Block a user