diff options
author | Jörg Thalheim <joerg@higgsboson.tk> | 2016-10-22 01:20:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 01:20:11 +0200 |
commit | fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3 (patch) | |
tree | d299f5299cb7ad69a609a825b284678dcb4e0cf6 /pkgs/applications/office | |
parent | 34a9ed1f5cb9e543b8709ea7ca62b98e1b60ab3b (diff) | |
parent | a71e633b3590764dc704faf5568b1e89686c584f (diff) | |
download | nixlib-fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3.tar nixlib-fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3.tar.gz nixlib-fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3.tar.bz2 nixlib-fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3.tar.lz nixlib-fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3.tar.xz nixlib-fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3.tar.zst nixlib-fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3.zip |
Merge pull request #18402 from andjscott/mmex
[WIP] Money-Manager-Ex: 0.9.5.1 -> 1.2.7
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/mmex/default.nix | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/pkgs/applications/office/mmex/default.nix b/pkgs/applications/office/mmex/default.nix index c45eb7d53d0c..9e02377eaa53 100644 --- a/pkgs/applications/office/mmex/default.nix +++ b/pkgs/applications/office/mmex/default.nix @@ -1,16 +1,16 @@ -# 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. +{ stdenv, fetchgit, sqlite, wxGTK30, gettext }: -{ fetchsvn, stdenv, wxGTK }: -let version = "0.9.5.1"; +let + version = "1.2.7"; in stdenv.mkDerivation { name = "money-manager-ex-${version}"; - src = fetchsvn { - url = "https://moneymanagerex.svn.sourceforge.net/svnroot/moneymanagerex/tags/releases/${version}"; - sha256 = "0mby1p01fyxk5pgd7h3919q91r10zbfk16rfz1kbchqxqz87x4jq"; + src = fetchgit { + url = "https://github.com/moneymanagerex/moneymanagerex.git"; + rev = "refs/tags/v${version}"; + sha256 = "0d6jcsj3m3b9mj68vfwr7dn67dws11p0pdys3spyyiv1464vmywi"; }; preConfigure = '' @@ -18,19 +18,13 @@ in export CXXFLAGS="$CFLAGS" ''; - installPhase = '' - mkdir -p $out/opt/mmex - cp -r mmex runtime/{*.txt,*.png,*.db3,en,help,*.wav,*.ico} $out/opt/mmex - ''; - - buildInputs = [ wxGTK ]; + buildInputs = [ sqlite wxGTK30 gettext ]; meta = { description = "Easy-to-use personal finance software"; - homepage = http://www.codelathe.com/mmex; + homepage = http://www.moneymanagerex.org/; license = stdenv.lib.licenses.gpl2Plus; maintainers = with stdenv.lib.maintainers; [viric]; platforms = with stdenv.lib.platforms; linux; - broken = true; }; } |