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

45 lines
1.3 KiB
Nix
Raw Normal View History

2016-11-23 14:53:40 +00:00
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, makeQtWrapper
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
}:
stdenv.mkDerivation rec {
name = "krita-${version}";
2017-01-29 17:01:07 +00:00
version = "3.1.1";
2016-06-01 02:21:56 +01:00
2016-11-23 14:53:40 +00:00
src = fetchurl {
url = "http://download.kde.org/stable/krita/${version}/${name}.tar.gz";
2017-01-29 17:01:07 +00:00
sha256 = "13qff9kdd38x81rq6yfmkm3083l8s0yn9h3d5qg3qmhrkd5jrvv2";
2016-06-01 02:21:56 +01:00
};
nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ];
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
];
2016-09-01 17:11:21 +01:00
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
2016-06-01 02:21:56 +01:00
enableParallelBuilding = true;
postInstall = ''
for i in $out/bin/*; do
wrapQtProgram "$i"
done
'';
meta = with stdenv.lib; {
description = "A free an open source painting application";
homepage = "https://krita.org/";
maintainers = with maintainers; [ abbradar ];
platforms = platforms.linux;
licenses = licenses.gpl2;
};
}