diff --git a/pkgs/applications/office/moneyplex/default.nix b/pkgs/applications/office/moneyplex/default.nix new file mode 100644 index 00000000000..866fda59d71 --- /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 <