about summary refs log tree commit diff
path: root/pkgs/applications/office/minetime/default.nix
blob: 4d566d0513f1ec5c59985467c8feaef44492d2db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 ];
  };
}