Update files
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{ pkgs, pkgs-unstable, try-cli, nix-direnv, ... }:
|
{ pkgs, pkgs-unstable, try-cli, nix-direnv, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
krita-custom = pkgs.callPackage ../packages/krita.nix { };
|
||||||
enpass = pkgs.enpass.overrideAttrs (oldAttrs: rec {
|
enpass = pkgs.enpass.overrideAttrs (oldAttrs: rec {
|
||||||
version = "6.11.13.1957";
|
version = "6.11.13.1957";
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
@@ -36,7 +37,7 @@ in
|
|||||||
gpu-screen-recorder # GPU screen recorder for Linux
|
gpu-screen-recorder # GPU screen recorder for Linux
|
||||||
imv # Image viewer
|
imv # Image viewer
|
||||||
inkscape # Vector graphics software
|
inkscape # Vector graphics software
|
||||||
krita # Digital art software
|
krita-custom # Custom digital art software (from AppImage)
|
||||||
libreoffice-fresh # Office suite
|
libreoffice-fresh # Office suite
|
||||||
lunar-client # Minecraft launcher
|
lunar-client # Minecraft launcher
|
||||||
mpv # Video player
|
mpv # Video player
|
||||||
|
|||||||
33
packages/krita.nix
Normal file
33
packages/krita.nix
Normal 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; [ ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user