summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-04-25 23:22:30 -0500
committerGitHub <noreply@github.com>2019-04-25 23:22:30 -0500
commit6e4fa8544621b8092f02b3f162d47c8e0994ae6e (patch)
treeb11bdc0e86477ae35094266abdfcdc04fe878921 /pkgs/applications/office
parente5453a19df717756aa0afacfdcdb10fa6a9f7251 (diff)
parentfc6c5fdfed9653c2c1be13d3e3896049291dac60 (diff)
downloadnixpkgs-6e4fa8544621b8092f02b3f162d47c8e0994ae6e.tar
nixpkgs-6e4fa8544621b8092f02b3f162d47c8e0994ae6e.tar.gz
nixpkgs-6e4fa8544621b8092f02b3f162d47c8e0994ae6e.tar.bz2
nixpkgs-6e4fa8544621b8092f02b3f162d47c8e0994ae6e.tar.lz
nixpkgs-6e4fa8544621b8092f02b3f162d47c8e0994ae6e.tar.xz
nixpkgs-6e4fa8544621b8092f02b3f162d47c8e0994ae6e.tar.zst
nixpkgs-6e4fa8544621b8092f02b3f162d47c8e0994ae6e.zip
Merge pull request #56259 from dtzWill/feature/minetime
minetime: init at 1.4.12
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/minetime/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/office/minetime/default.nix b/pkgs/applications/office/minetime/default.nix
new file mode 100644
index 00000000000..85e8bc131ce
--- /dev/null
+++ b/pkgs/applications/office/minetime/default.nix
@@ -0,0 +1,31 @@
+{ appimageTools, fetchurl, lib, gsettings-desktop-schemas, gtk3 }:
+
+let
+  pname = "minetime";
+  version = "1.5.1";
+in
+appimageTools.wrapType2 rec {
+  name = "${pname}-${version}";
+  src = fetchurl {
+    url = "https://github.com/marcoancona/MineTime/releases/download/v${version}/${name}-x86_64.AppImage";
+    sha256 = "0099cq4p7j01bzs7q79y9xi7g6ji17v9g7cykfjggwsgqfmvd0hz";
+  };
+
+  profile = ''
+    export LC_ALL=C.UTF-8
+    export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
+  '';
+
+  multiPkgs = null; # no 32bit needed
+  extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
+  extraInstallCommands = "mv $out/bin/{${name},${pname}}";
+
+  meta = with lib; {
+    description = "Modern, intuitive and smart calendar application";
+    homepage = https://minetime.ai;
+    license = licenses.unfree;
+    # Should be cross-platform, but for now we just grab the appimage
+    platforms = [ "x86_64-linux" ];
+    maintainers = with maintainers; [ dtzWill ];
+  };
+}