File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
pkgs/applications/office/mmex Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 11{ lib
22, stdenv
33, fetchFromGitHub
4+ , appstream
45, cmake
6+ , fetchpatch
57, gettext
68, git
79, makeWrapper
1719
1820stdenv . mkDerivation rec {
1921 pname = "money-manager-ex" ;
20- version = "1.6.3 " ;
22+ version = "1.8.0 " ;
2123
2224 src = fetchFromGitHub {
2325 owner = "moneymanagerex" ;
2426 repo = "moneymanagerex" ;
2527 rev = "v${ version } " ;
2628 fetchSubmodules = true ;
27- hash = "sha256-TQgJ2Q4Z7+OtwuwkfPBgm2BmMKML9nmyFLSkmKJ1RE4 =" ;
29+ hash = "sha256-jV1jW0aFx95JpwzywEVajstnMKVcEtBdvyL7y6OLl+k =" ;
2830 } ;
2931
32+ patches = [
33+ ( fetchpatch { # https://github.com/moneymanagerex/moneymanagerex/pull/6716
34+ name = "workaround-appstream-1.0.3.patch" ;
35+ url = "https://github.com/moneymanagerex/moneymanagerex/commit/bb98eab92d95b7315d27f4e59ae59b50587106d8.patch" ;
36+ hash = "sha256-98OyFO2nnGBRTIirxZ3jX1NPvsw5kVT8nsCSSmyfabo=" ;
37+ } )
38+ ] ;
39+
3040 postPatch = lib . optionalString ( stdenv . hostPlatform . isDarwin && stdenv . hostPlatform . isx86_64 ) ''
3141 substituteInPlace src/platfdep_mac.mm \
3242 --replace "appearance.name == NSAppearanceNameDarkAqua" "NO"
@@ -36,12 +46,14 @@ stdenv.mkDerivation rec {
3646 '' ;
3747
3848 nativeBuildInputs = [
49+ appstream # for appstreamcli
3950 cmake
4051 gettext
4152 git
4253 makeWrapper
4354 pkg-config
4455 wrapGAppsHook3
56+ wxGTK32
4557 ] ++ lib . optionals stdenv . hostPlatform . isLinux [
4658 lsb-release
4759 ] ;
@@ -55,6 +67,8 @@ stdenv.mkDerivation rec {
5567 darwin . libobjc
5668 ] ;
5769
70+ strictDeps = true ;
71+
5872 env . NIX_CFLAGS_COMPILE = toString ( lib . optionals stdenv . cc . isClang [
5973 "-Wno-deprecated-copy"
6074 "-Wno-old-style-cast"
You can’t perform that action at this time.
0 commit comments