summaryrefslogtreecommitdiff
path: root/pkgs/applications/office/mmex/default.nix
blob: 9e02377eaa53e494bd137379064036c9f7dd6550 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchgit, sqlite, wxGTK30, gettext }:


let
  version = "1.2.7";
in
  stdenv.mkDerivation {
    name = "money-manager-ex-${version}";

    src = fetchgit {
      url = "https://github.com/moneymanagerex/moneymanagerex.git";
      rev = "refs/tags/v${version}";
      sha256 = "0d6jcsj3m3b9mj68vfwr7dn67dws11p0pdys3spyyiv1464vmywi";
    };

    preConfigure = ''
      export CFLAGS="-I`pwd`/include"
      export CXXFLAGS="$CFLAGS"
    '';

    buildInputs = [ sqlite wxGTK30 gettext ];

    meta = {
      description = "Easy-to-use personal finance software";
      homepage = http://www.moneymanagerex.org/;
      license = stdenv.lib.licenses.gpl2Plus;
      maintainers = with stdenv.lib.maintainers; [viric];
      platforms = with stdenv.lib.platforms; linux;
    };
  }