Update files

This commit is contained in:
2026-04-05 14:16:59 +01:00
parent e70a5473c4
commit 67b3c38f52
2 changed files with 35 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
{ pkgs, pkgs-unstable, try-cli, nix-direnv, ... }:
let
krita-custom = pkgs.callPackage ../packages/krita.nix { };
enpass = pkgs.enpass.overrideAttrs (oldAttrs: rec {
version = "6.11.13.1957";
src = pkgs.fetchurl {
@@ -36,7 +37,7 @@ in
gpu-screen-recorder # GPU screen recorder for Linux
imv # Image viewer
inkscape # Vector graphics software
krita # Digital art software
krita-custom # Custom digital art software (from AppImage)
libreoffice-fresh # Office suite
lunar-client # Minecraft launcher
mpv # Video player

33
packages/krita.nix Normal file
View File

@@ -0,0 +1,33 @@
{
lib,
appimageTools,
fetchurl
}:
let
version = "6.0.1";
pname = "krita";
src = fetchurl {
url = "https://download.kde.org/stable/krita/${version}/krita-${version}-x86_64.AppImage";
hash = "sha256-9732206aa6624e750e5b9152445fb544ea63dd1012582dfdd1a2d51520414d0a";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/krita.desktop $out/share/applications/krita.desktop
install -m 444 -D ${appimageContents}/krita.png $out/share/icons/hicolor/256x256/apps/krita.png
'';
meta = {
description = "Digital painting and illustration application";
homepage = "https://krita.org";
license = lib.licenses.gpl3Only;
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ ];
};
}