nixpkgs/pkgs/applications/office/minetime/default.nix

30 lines
831 B
Nix
Raw Normal View History

{ appimageTools, fetchurl, lib }:
let
pname = "MineTime";
2019-03-19 15:10:31 +00:00
version = "1.4.12";
in
appimageTools.wrapType2 rec {
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/marcoancona/MineTime/releases/download/v${version}/${name}-x86_64.AppImage";
2019-03-19 15:10:31 +00:00
sha256 = "1gpscil003ja35c9dax33prf5wabcwsbvrbzclpwsw5b9i2sgbpw";
};
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 ];
};
}