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