mmex: 0.9.5.1 -> 1.2.7
This commit is contained in:
parent
4876c7362b
commit
a71e633b35
|
@ -1,16 +1,16 @@
|
||||||
# To use this program, copy all that is in $out/opt/mmax into a writable directory,
|
{ stdenv, fetchgit, sqlite, wxGTK30, gettext }:
|
||||||
# and run it from there. This is the intended usage, as far as I understand.
|
|
||||||
|
|
||||||
{ fetchsvn, stdenv, wxGTK }:
|
|
||||||
|
|
||||||
let version = "0.9.5.1";
|
let
|
||||||
|
version = "1.2.7";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "money-manager-ex-${version}";
|
name = "money-manager-ex-${version}";
|
||||||
|
|
||||||
src = fetchsvn {
|
src = fetchgit {
|
||||||
url = "https://moneymanagerex.svn.sourceforge.net/svnroot/moneymanagerex/tags/releases/${version}";
|
url = "https://github.com/moneymanagerex/moneymanagerex.git";
|
||||||
sha256 = "0mby1p01fyxk5pgd7h3919q91r10zbfk16rfz1kbchqxqz87x4jq";
|
rev = "refs/tags/v${version}";
|
||||||
|
sha256 = "0d6jcsj3m3b9mj68vfwr7dn67dws11p0pdys3spyyiv1464vmywi";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -18,19 +18,13 @@ in
|
||||||
export CXXFLAGS="$CFLAGS"
|
export CXXFLAGS="$CFLAGS"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
buildInputs = [ sqlite wxGTK30 gettext ];
|
||||||
mkdir -p $out/opt/mmex
|
|
||||||
cp -r mmex runtime/{*.txt,*.png,*.db3,en,help,*.wav,*.ico} $out/opt/mmex
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ wxGTK ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Easy-to-use personal finance software";
|
description = "Easy-to-use personal finance software";
|
||||||
homepage = http://www.codelathe.com/mmex;
|
homepage = http://www.moneymanagerex.org/;
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
maintainers = with stdenv.lib.maintainers; [viric];
|
maintainers = with stdenv.lib.maintainers; [viric];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, gtk, libXinerama, libSM, libXxf86vm, xf86vidmodeproto
|
{ stdenv, fetchurl, pkgconfig, gtk, libXinerama, libSM, libXxf86vm, xf86vidmodeproto
|
||||||
, gstreamer, gst_plugins_base, GConf, setfile
|
, gstreamer, gst_plugins_base, GConf, setfile
|
||||||
, withMesa ? true, mesa ? null, compat24 ? false, compat26 ? true, unicode ? true,
|
, withMesa ? true, mesa ? null, compat24 ? false, compat26 ? true, unicode ? true
|
||||||
|
, withWebKit ? false, webkitgtk2 ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
||||||
assert withMesa -> mesa != null;
|
assert withMesa -> mesa != null;
|
||||||
|
assert withWebKit -> webkitgtk2 != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
|
@ -22,6 +25,7 @@ stdenv.mkDerivation {
|
||||||
[ gtk libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer
|
[ gtk libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer
|
||||||
gst_plugins_base GConf ]
|
gst_plugins_base GConf ]
|
||||||
++ optional withMesa mesa
|
++ optional withMesa mesa
|
||||||
|
++ optional withWebKit webkitgtk2
|
||||||
++ optional stdenv.isDarwin setfile;
|
++ optional stdenv.isDarwin setfile;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
@ -34,7 +38,9 @@ stdenv.mkDerivation {
|
||||||
++ optional withMesa "--with-opengl"
|
++ optional withMesa "--with-opengl"
|
||||||
++ optionals stdenv.isDarwin
|
++ optionals stdenv.isDarwin
|
||||||
# allow building on 64-bit
|
# allow building on 64-bit
|
||||||
[ "--with-cocoa" "--enable-universal-binaries" ];
|
[ "--with-cocoa" "--enable-universal-binaries" ]
|
||||||
|
++ optionals withWebKit
|
||||||
|
["--enable-webview" "--enable-webview-webkit"];
|
||||||
|
|
||||||
SEARCH_LIB = optionalString withMesa "${mesa}/lib";
|
SEARCH_LIB = optionalString withMesa "${mesa}/lib";
|
||||||
|
|
||||||
|
|
|
@ -14011,7 +14011,9 @@ in
|
||||||
|
|
||||||
MMA = callPackage ../applications/audio/MMA { };
|
MMA = callPackage ../applications/audio/MMA { };
|
||||||
|
|
||||||
mmex = callPackage ../applications/office/mmex { };
|
mmex = callPackage ../applications/office/mmex {
|
||||||
|
wxGTK30 = wxGTK30.override { withWebKit = true ; };
|
||||||
|
};
|
||||||
|
|
||||||
moc = callPackage ../applications/audio/moc {
|
moc = callPackage ../applications/audio/moc {
|
||||||
ffmpeg = ffmpeg_2;
|
ffmpeg = ffmpeg_2;
|
||||||
|
|
Loading…
Reference in New Issue