+MSTY
This commit is contained in:
parent
d51894816c
commit
eb84e24369
@ -92,6 +92,7 @@
|
|||||||
# firefox-devedition
|
# firefox-devedition
|
||||||
file-roller
|
file-roller
|
||||||
hyprpanel
|
hyprpanel
|
||||||
|
msty
|
||||||
seahorse
|
seahorse
|
||||||
sushi
|
sushi
|
||||||
# glib
|
# glib
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
# Define your custom packages here
|
# Define your custom packages here
|
||||||
|
msty = pkgs.callPackage ./msty {};
|
||||||
zellij-ps = pkgs.callPackage ./zellij-ps {};
|
zellij-ps = pkgs.callPackage ./zellij-ps {};
|
||||||
aider-chat-env = pkgs.callPackage ./aider-chat-env {};
|
aider-chat-env = pkgs.callPackage ./aider-chat-env {};
|
||||||
}
|
}
|
||||||
|
22
pkgs/msty/default.nix
Normal file
22
pkgs/msty/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
appimageTools,
|
||||||
|
fetchurl,
|
||||||
|
}: let
|
||||||
|
pname = "msty";
|
||||||
|
version = "1.7";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://assets.msty.app/prod/latest/linux/amd64/Msty_x86_64_amd64.AppImage";
|
||||||
|
sha256 = "sha256-k6hcT7Dp53e4zWXXJhsonNlfOwCLIOo/kz8FcDq8OKo=";
|
||||||
|
};
|
||||||
|
appimageContents = appimageTools.extractType2 {inherit pname version src;};
|
||||||
|
in
|
||||||
|
appimageTools.wrapType2 {
|
||||||
|
inherit pname version src;
|
||||||
|
extraInstallCommands = ''
|
||||||
|
install -m 444 -D ${appimageContents}/msty.desktop -t $out/share/applications
|
||||||
|
substituteInPlace $out/share/applications/msty.desktop \
|
||||||
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||||
|
install -m 444 -D ${appimageContents}/msty.png \
|
||||||
|
$out/share/icons/hicolor/256x256/apps/msty.png '';
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user