From 136c249e0ba8890c71216373d79274b78e167d06 Mon Sep 17 00:00:00 2001 From: Thomas Strobel <4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains> Date: Mon, 27 Feb 2017 10:47:36 +0100 Subject: init: moneyplex at 16.0.22424 --- pkgs/applications/office/moneyplex/default.nix | 117 +++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 pkgs/applications/office/moneyplex/default.nix (limited to 'pkgs/applications/office') diff --git a/pkgs/applications/office/moneyplex/default.nix b/pkgs/applications/office/moneyplex/default.nix new file mode 100644 index 000000000000..866fda59d713 --- /dev/null +++ b/pkgs/applications/office/moneyplex/default.nix @@ -0,0 +1,117 @@ +{ stdenv, requireFile, writeScript, patchelf, libredirect, coreutils, pcsclite +, zlib, glib, gdk_pixbuf, gtk2, cairo, pango, libX11, atk, openssl }: + +let + libPath = stdenv.lib.makeLibraryPath [ + stdenv.cc.cc zlib glib gdk_pixbuf gtk2 cairo pango libX11 atk openssl + ]; +in + +stdenv.mkDerivation rec { + name = "moneyplex-${version}"; + version = "1.0"; + + src = requireFile { + message = '' + Unfortunately, Matrica does not provide an installable version of moneyplex. + To work around, install moneyplex on another system, und delete the following files + from the moneyplex installation directory: backups, mdaten, rup, Lnx\ Global.ali, Lnx\ Local ...ali + and settings.ini, and then pack the folder into moneyplex-${version}.tar.gz. + ''; + name = "moneyplex-${version}.tar.gz"; + sha256 = "0wpzwvhybjbqvqi8bpvkvcs3mikvl68gk1hzawihi0xnm28lcxw0"; + }; + + phases = [ "unpackPhase" "installPhase" "postInstall" ]; + + buildInputs = [ ]; + + installPhase = + '' + mkdir -p "$out/opt/moneyplex" + cp -r . $out/opt/moneyplex + + mkdir "$out/bin" + + cat > $out/bin/moneyplex < $out/share/applications/moneyplex.desktop <