From 25fb5d553cb4e97a26ef4fb0e9ab7a6b1e1df453 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 12 Feb 2019 23:27:58 -0600 Subject: [PATCH] minetime: init at 1.4.10, using appimageTools --- pkgs/applications/office/minetime/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/office/minetime/default.nix diff --git a/pkgs/applications/office/minetime/default.nix b/pkgs/applications/office/minetime/default.nix new file mode 100644 index 000000000000..4d566d0513f1 --- /dev/null +++ b/pkgs/applications/office/minetime/default.nix @@ -0,0 +1,29 @@ +{ appimageTools, fetchurl, lib }: + +let + pname = "MineTime"; + version = "1.4.10"; +in +appimageTools.wrapType2 rec { + name = "${pname}-${version}"; + src = fetchurl { + url = "https://github.com/marcoancona/MineTime/releases/download/v${version}/${name}-x86_64.AppImage"; + sha256 = "11w1v9vlg51masxgigraqp5547dl02jrrwhzz5gcckv4l9y8rlyw"; + }; + + extraPkgs = p: p.atomEnv.packages; + + # Ideally inherit this, but it needs to be set or the app fails to launch. + profile = '' + export LC_ALL=C.UTF8 + ''; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 13bc8ebfaf04..864eadc94818 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4399,6 +4399,8 @@ in mimetic = callPackage ../development/libraries/mimetic { }; + minetime = callPackage ../applications/office/minetime { }; + minio-client = callPackage ../tools/networking/minio-client { buildGoPackage = buildGo110Package; };