nixpkgs/pkgs/applications/office/mmex/default.nix

31 lines
788 B
Nix
Raw Normal View History

2016-10-19 12:58:13 +00:00
{ stdenv, fetchgit, sqlite, wxGTK30, gettext }:
2016-10-19 12:58:13 +00:00
let
version = "1.2.7";
in
stdenv.mkDerivation {
name = "money-manager-ex-${version}";
2016-10-19 12:58:13 +00:00
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"
'';
2016-10-19 12:58:13 +00:00
buildInputs = [ sqlite wxGTK30 gettext ];
meta = {
description = "Easy-to-use personal finance software";
2016-10-19 12:58:13 +00:00
homepage = http://www.moneymanagerex.org/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}