mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
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
This commit is contained in:
parent
10ca771495
commit
bb0a18daac
35
pkgs/applications/office/mmex/default.nix
Normal file
35
pkgs/applications/office/mmex/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -7341,6 +7341,10 @@ let
|
||||
inherit fetchurl stdenv ncurses;
|
||||
};
|
||||
|
||||
mmex = import ../applications/office/mmex {
|
||||
inherit fetchsvn stdenv wxGTK;
|
||||
};
|
||||
|
||||
monodevelop = import ../applications/editors/monodevelop {
|
||||
inherit fetchurl stdenv file mono gtksourceviewsharp
|
||||
gtkmozembedsharp monodoc perl perlXMLParser pkgconfig;
|
||||
|
Loading…
Reference in New Issue
Block a user