2026-04-05 14:16:59 +01:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
appimageTools,
|
|
|
|
|
fetchurl
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
let
|
|
|
|
|
version = "6.0.1";
|
2026-04-05 15:02:20 +01:00
|
|
|
pname = "krita-appimage";
|
2026-04-05 14:16:59 +01:00
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://download.kde.org/stable/krita/${version}/krita-${version}-x86_64.AppImage";
|
2026-04-05 15:13:37 +01:00
|
|
|
hash = "sha256-lzIgaqZiTnUOW5FSRF+1ROpj3RASWC390aLVFSBBTQo=";
|
2026-04-05 14:16:59 +01:00
|
|
|
};
|
|
|
|
|
|
2026-04-05 15:02:20 +01:00
|
|
|
appimageContents = appimageTools.extract { inherit pname version src; };
|
2026-04-05 14:16:59 +01:00
|
|
|
in
|
|
|
|
|
appimageTools.wrapType2 {
|
|
|
|
|
inherit pname version src;
|
|
|
|
|
|
|
|
|
|
extraInstallCommands = ''
|
2026-04-05 15:17:12 +01:00
|
|
|
install -m 444 -D ${appimageContents}/org.kde.krita.desktop $out/share/applications/krita.desktop
|
2026-04-05 14:16:59 +01:00
|
|
|
install -m 444 -D ${appimageContents}/krita.png $out/share/icons/hicolor/256x256/apps/krita.png
|
|
|
|
|
'';
|
2026-04-05 15:02:20 +01:00
|
|
|
|
2026-04-05 14:16:59 +01:00
|
|
|
meta = {
|
|
|
|
|
description = "Digital painting and illustration application";
|
|
|
|
|
homepage = "https://krita.org";
|
|
|
|
|
license = lib.licenses.gpl3Only;
|
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
|
};
|
|
|
|
|
}
|