3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/krita/default.nix

46 lines
1.4 KiB
Nix
Raw Normal View History

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
, 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}";
2017-06-25 10:18:01 +01:00
version = "3.1.4";
2016-06-01 02:21:56 +01:00
2016-11-23 14:53:40 +00:00
src = fetchurl {
2017-06-25 10:18:01 +01:00
url = "http://download.kde.org/stable/krita/${version}/${name}.tar.gz";
sha256 = "1al27v17s70hihk2mcmz3l2g6rl9qzpxaifapdfpkyias6q3f63l";
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
qtmultimedia qtx11extras
2016-06-01 02:21:56 +01:00
];
2017-06-25 10:18:01 +01:00
patches = [
(fetchpatch {
url = "https://github.com/KDE/krita/commit/2f59d0d1.patch";
sha256 = "0sdlcjn6i3faln3c0aczw3pg4pvmccgszmy8n914mgsccrqrazlr";
})
];
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; {
2016-06-01 02:21:56 +01:00
description = "A free an open source painting application";
homepage = "https://krita.org/";
maintainers = with maintainers; [ abbradar ];
platforms = platforms.linux;
license = licenses.gpl2;
2016-06-01 02:21:56 +01:00
};
}