diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-25 21:40:52 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-25 21:40:52 +0000 |
commit | bb0a18daac7492a44e338d19ca004b679b211caf (patch) | |
tree | 342244c7e7741a70aae0d209148db7ad3f17ac79 /pkgs/applications/office/mmex | |
parent | 10ca771495c7942bdc316db1ed043ce820808288 (diff) | |
download | nixlib-bb0a18daac7492a44e338d19ca004b679b211caf.tar nixlib-bb0a18daac7492a44e338d19ca004b679b211caf.tar.gz nixlib-bb0a18daac7492a44e338d19ca004b679b211caf.tar.bz2 nixlib-bb0a18daac7492a44e338d19ca004b679b211caf.tar.lz nixlib-bb0a18daac7492a44e338d19ca004b679b211caf.tar.xz nixlib-bb0a18daac7492a44e338d19ca004b679b211caf.tar.zst nixlib-bb0a18daac7492a44e338d19ca004b679b211caf.zip |
Adding some kind of build expression for money manager ex.
It expects to find its resource files in '.', and it also wants to write at '.'. I think this has to be fixed upstream. svn path=/nixpkgs/trunk/; revision=19655
Diffstat (limited to 'pkgs/applications/office/mmex')
-rw-r--r-- | pkgs/applications/office/mmex/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/office/mmex/default.nix b/pkgs/applications/office/mmex/default.nix new file mode 100644 index 000000000000..1e7aa756471f --- /dev/null +++ b/pkgs/applications/office/mmex/default.nix @@ -0,0 +1,35 @@ +# 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}"; + + src = fetchsvn { + url = "https://moneymanagerex.svn.sourceforge.net/svnroot/moneymanagerex/tags/releases/${version}"; + sha256 = "0mby1p01fyxk5pgd7h3919q91r10zbfk16rfz1kbchqxqz87x4jq"; + }; + + preConfigure = '' + export CFLAGS="-I`pwd`/include" + export CXXFLAGS="$CFLAGS" + ''; + + installPhase = '' + ensureDir $out/opt/mmex + 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; + license = "GPLv2+"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; + } |