2010-01-25 21:40:52 +00:00
|
|
|
# To use this program, copy all that is in $out/opt/mmax into a writable directory,
|
|
|
|
# and run it from there. This is the intended usage, as far as I understand.
|
|
|
|
|
|
|
|
{ fetchsvn, stdenv, wxGTK }:
|
|
|
|
|
|
|
|
let version = "0.9.5.1";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "money-manager-ex-${version}";
|
|
|
|
|
2015-09-01 10:53:26 +00:00
|
|
|
src = fetchsvn {
|
2010-01-25 21:40:52 +00:00
|
|
|
url = "https://moneymanagerex.svn.sourceforge.net/svnroot/moneymanagerex/tags/releases/${version}";
|
|
|
|
sha256 = "0mby1p01fyxk5pgd7h3919q91r10zbfk16rfz1kbchqxqz87x4jq";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export CFLAGS="-I`pwd`/include"
|
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/opt/mmex
|
2010-01-25 21:40:52 +00:00
|
|
|
cp -r mmex runtime/{*.txt,*.png,*.db3,en,help,*.wav,*.ico} $out/opt/mmex
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ wxGTK ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Easy-to-use personal finance software";
|
|
|
|
homepage = http://www.codelathe.com/mmex;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-01-25 21:40:52 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2015-09-01 09:13:00 +00:00
|
|
|
broken = true;
|
2010-01-25 21:40:52 +00:00
|
|
|
};
|
|
|
|
}
|