about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-08-07 10:33:22 +0200
committerMarek Mahut <marek.mahut@gmail.com>2019-08-07 15:04:10 +0200
commit202399f34e82573ac254e631c413377691b82c60 (patch)
tree7f75ab5e0ce521907ffe2297173150d39d75b4f2 /pkgs/applications/office
parent4e6253392cef3007057d264d8e999e2fcd0aa72e (diff)
downloadnixlib-202399f34e82573ac254e631c413377691b82c60.tar
nixlib-202399f34e82573ac254e631c413377691b82c60.tar.gz
nixlib-202399f34e82573ac254e631c413377691b82c60.tar.bz2
nixlib-202399f34e82573ac254e631c413377691b82c60.tar.lz
nixlib-202399f34e82573ac254e631c413377691b82c60.tar.xz
nixlib-202399f34e82573ac254e631c413377691b82c60.tar.zst
nixlib-202399f34e82573ac254e631c413377691b82c60.zip
flexibee: init at 2019.2.5
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/flexibee/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/office/flexibee/default.nix b/pkgs/applications/office/flexibee/default.nix
new file mode 100644
index 000000000000..284fdf7a124d
--- /dev/null
+++ b/pkgs/applications/office/flexibee/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, makeWrapper, jre }:
+
+let
+  version = "2019.2.5";
+  majorVersion = builtins.substring 0 6 version;
+in
+
+stdenv.mkDerivation rec {
+  pname = "flexibee";
+  inherit version;
+
+  src = fetchurl {
+    url = "http://download.flexibee.eu/download/${majorVersion}/${version}/${pname}-${version}.tar.gz";
+    sha256 = "0k94y4x6lj1vcb89a95v9mzl95mkpwp9n4a2gwvq0g90zpbnn493";
+  };
+
+  nativeBuildInputs = [ makeWrapper ];
+
+  installPhase = ''
+    runHook preInstall
+    cp -R usr/share/flexibee/ $out/
+    install -Dm755 usr/bin/flexibee $out/bin/flexibee
+    wrapProgram  $out/bin/flexibee --set JAVA_HOME "${jre}"
+    runHook postInstall
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Client for an accouting economic system";
+    homepage = "https://www.flexibee.eu/";
+    license = licenses.unfree;
+    maintainers = [ maintainers.mmahut ];
+    platforms = [ "x86_64-linux" ];
+  };
+}