summary refs log tree commit diff
path: root/pkgs/applications/office/flexibee
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-08-09 14:00:27 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-08-09 14:00:27 +0200
commit9bd78cb0488040ea996b27e82135396a45325af5 (patch)
treefe8e48ceab8d69e7e51bd1f04ec6aae0ca7dafec /pkgs/applications/office/flexibee
parenta12aeebedbac1bbb02d1beec35925c433cf022f5 (diff)
parent246c223e877989c5763ce905bfa42b3f32fe2c18 (diff)
downloadnixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar
nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.gz
nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.bz2
nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.lz
nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.xz
nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.zst
nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/office/flexibee')
-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 00000000000..284fdf7a124
--- /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" ];
+  };
+}