e675217786
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 4.0.0 with grep in /nix/store/k8xscjzkd9w5n6hly18qcwgg62m3fjh9-krita-4.0.0 - directory tree listing: https://gist.github.com/c2d48bc58cc453eac241620389f2b9ce
38 lines
1.2 KiB
Nix
38 lines
1.2 KiB
Nix
{ mkDerivation, lib, fetchurl, fetchpatch, cmake, extra-cmake-modules
|
|
, karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons
|
|
, kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem
|
|
, kio, kcrash
|
|
, boost, libraw, fftw, eigen, exiv2, lcms2, gsl, openexr
|
|
, openjpeg, opencolorio, vc, poppler_qt5, curl, ilmbase
|
|
, qtmultimedia, qtx11extras
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
name = "krita-${version}";
|
|
version = "4.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.kde.org/stable/krita/${version}/${name}.tar.gz";
|
|
sha256 = "14sm67vkpxzpnh4c2mzvr0rpk8a3i8kzxx6fi3lpczrcc1g7di09";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [
|
|
karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons
|
|
ki18n kitemmodels kitemviews kwindowsystem kio kcrash
|
|
boost libraw fftw eigen exiv2 lcms2 gsl openexr
|
|
openjpeg opencolorio vc poppler_qt5 curl ilmbase
|
|
qtmultimedia qtx11extras
|
|
];
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
|
|
|
|
meta = with lib; {
|
|
description = "A free and open source painting application";
|
|
homepage = https://krita.org/;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|