136403655c
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/krita/versions. 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.1 with grep in /nix/store/5n5zy1944sd00lablmvqcqyp4w1b2sy9-krita-4.0.1 - directory tree listing: https://gist.github.com/b46fb0156abdb69233c6f63121457b89
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.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.kde.org/stable/krita/${version}/${name}.tar.gz";
|
|
sha256 = "0k55ybvna40dx4fqygnix7bnhjaanak3ckb108hny2k7sspy62pc";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|