2019-04-24 02:43:04 +01:00
|
|
|
{ appimageTools, fetchurl, lib, gsettings-desktop-schemas, gtk3 }:
|
2019-02-13 05:27:58 +00:00
|
|
|
|
|
|
|
let
|
2019-04-24 02:43:04 +01:00
|
|
|
pname = "minetime";
|
|
|
|
version = "1.5.1";
|
2019-02-13 05:27:58 +00:00
|
|
|
in
|
|
|
|
appimageTools.wrapType2 rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/marcoancona/MineTime/releases/download/v${version}/${name}-x86_64.AppImage";
|
2019-04-24 02:43:04 +01:00
|
|
|
sha256 = "0099cq4p7j01bzs7q79y9xi7g6ji17v9g7cykfjggwsgqfmvd0hz";
|
2019-02-13 05:27:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
profile = ''
|
2019-04-24 02:43:04 +01:00
|
|
|
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
|
2019-02-13 05:27:58 +00:00
|
|
|
'';
|
|
|
|
|
2019-04-24 02:43:04 +01:00
|
|
|
multiPkgs = null; # no 32bit needed
|
|
|
|
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
|
|
|
|
extraInstallCommands = "mv $out/bin/{${name},${pname}}";
|
|
|
|
|
2019-02-13 05:27:58 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|