mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
6c8760f07c
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
41 lines
1.3 KiB
Nix
41 lines
1.3 KiB
Nix
{ mkDerivation, lib, stdenv, fetchurl, cmake, extra-cmake-modules
|
|
, karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons
|
|
, kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem
|
|
, kio, kcrash
|
|
, boost, libraw, fftw, eigen, exiv2, libheif, lcms2, gsl, openexr, giflib
|
|
, openjpeg, opencolorio, vc, poppler, curl, ilmbase
|
|
, qtmultimedia, qtx11extras
|
|
, python3
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
name = "krita-${version}";
|
|
version = "4.1.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.kde.org/stable/krita/${version}/${name}.tar.gz";
|
|
sha256 = "1by8p8ifdp03f05bhg8ygdd1j036anfpjjnzbx63l2fbmy9k6q10";
|
|
};
|
|
|
|
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 libheif giflib
|
|
openjpeg opencolorio poppler curl ilmbase
|
|
qtmultimedia qtx11extras
|
|
python3
|
|
] ++ lib.optional (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) vc;
|
|
|
|
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;
|
|
};
|
|
}
|