Unverified Commit 827abc67 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

mmex: 1.8.0 -> 1.8.1 (#376232)

parents b6ece399 7a095000
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -21,25 +21,16 @@

stdenv.mkDerivation rec {
  pname = "money-manager-ex";
  version = "1.8.0";
  version = "1.8.1";

  src = fetchFromGitHub {
    owner = "moneymanagerex";
    repo = "moneymanagerex";
    rev = "v${version}";
    fetchSubmodules = true;
    hash = "sha256-jV1jW0aFx95JpwzywEVajstnMKVcEtBdvyL7y6OLl+k=";
    hash = "sha256-TOT5dFDCF3F1L8P2u+9Ve3/N9mtBD2/KirzF0pyfdIA=";
  };

  patches = [
    (fetchpatch {
      # https://github.com/moneymanagerex/moneymanagerex/pull/6716
      name = "workaround-appstream-1.0.3.patch";
      url = "https://github.com/moneymanagerex/moneymanagerex/commit/bb98eab92d95b7315d27f4e59ae59b50587106d8.patch";
      hash = "sha256-98OyFO2nnGBRTIirxZ3jX1NPvsw5kVT8nsCSSmyfabo=";
    })
  ];

  postPatch = ''
    substituteInPlace src/dbwrapper.cpp src/model/Model_Report.cpp \
      --replace-fail "sqlite3mc_amalgamation.h" "sqlite3.h"