2017-06-25 11:18:01 +02:00
|
|
|
{ mkDerivation, lib, fetchurl, fetchpatch, cmake, extra-cmake-modules
|
2016-06-01 03:21:56 +02:00
|
|
|
, 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
|
2017-06-23 21:48:41 +02:00
|
|
|
, qtmultimedia, qtx11extras
|
2016-06-01 03:21:56 +02:00
|
|
|
}:
|
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
mkDerivation rec {
|
2016-06-01 03:21:56 +02:00
|
|
|
name = "krita-${version}";
|
2017-09-16 19:27:12 +02:00
|
|
|
version = "3.2.1";
|
2016-06-01 03:21:56 +02:00
|
|
|
|
2016-11-23 15:53:40 +01:00
|
|
|
src = fetchurl {
|
2017-06-25 11:18:01 +02:00
|
|
|
url = "http://download.kde.org/stable/krita/${version}/${name}.tar.gz";
|
2017-09-16 19:27:12 +02:00
|
|
|
sha256 = "0fafy5ggplgq2rz85sqa42vmkzs2r9dq47qfrbnn2n6pfzkcw1pg";
|
2016-06-01 03:21:56 +02:00
|
|
|
};
|
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
2016-06-01 03:21:56 +02:00
|
|
|
|
|
|
|
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
|
2017-06-23 21:48:41 +02:00
|
|
|
qtmultimedia qtx11extras
|
2016-06-01 03:21:56 +02:00
|
|
|
];
|
|
|
|
|
2016-09-01 18:11:21 +02:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
|
2016-06-01 03:21:56 +02:00
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
meta = with lib; {
|
2016-06-01 03:21:56 +02:00
|
|
|
description = "A free an open source painting application";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://krita.org/;
|
2016-06-01 03:21:56 +02:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
platforms = platforms.linux;
|
2017-04-30 13:42:35 +02:00
|
|
|
license = licenses.gpl2;
|
2016-06-01 03:21:56 +02:00
|
|
|
};
|
|
|
|
}
|