27 lines
751 B
Nix
27 lines
751 B
Nix
{ pkgs, ... }:
|
|
let
|
|
mindwtrAppImage = pkgs.fetchurl {
|
|
name = "mindwtr-app-image";
|
|
url = "https://github.com/dongdongbh/Mindwtr/releases/download/v1.3.6/Mindwtr-1.3.6-x86_64.AppImage";
|
|
sha256 = "0q7rwj2d5j5vpxhrf5bmxwfppkn0jdmzrndw16w4l9q3rss3bv5i";
|
|
};
|
|
mindwtrIcon = pkgs.fetchurl {
|
|
name = "mindwtr-icon";
|
|
url = "https://appimage.github.io/database/Mindwtr/icons/128x128/mindwtr.png";
|
|
sha256 = "03v1azqkh2kld6k2hvblkwk8xl7lsy7ipznqj0vyp2j24r14sf5r";
|
|
};
|
|
in
|
|
{
|
|
xdg.desktopEntries = {
|
|
mindwtr = {
|
|
name = "Mindwtr";
|
|
exec = "${pkgs.appimage-run}/bin/appimage-run ${mindwtrAppImage}";
|
|
terminal = false;
|
|
type = "Application";
|
|
icon = "${mindwtrIcon}";
|
|
comment = "Mindwtr";
|
|
};
|
|
|
|
};
|
|
}
|