Unverified Commit b49ceb96 authored by Florian Klink's avatar Florian Klink Committed by GitHub
Browse files

movim: 0.29.2 → 0.30 (#396020)

parents 14440cb2 79642eb5
Loading
Loading
Loading
Loading
+21 −31
Original line number Diff line number Diff line
@@ -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
        ++ [
          all.curl
          all.dom
          all.gd
          all.imagick
          all.mbstring
          all.pdo
          all.simplexml
        ]
        )
        ++ lib.optionals withMySQL (
          with all;
          [
            mysqli
            mysqlnd
            pdo_mysql
        ++ 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;