normcap: 0.5.8 -> 0.5.9 (#355312)
[NixPkgs.git] / pkgs / by-name / ar / art / package.nix
blob854fcaecce4615df83a7f10ee64420a2302470c7
1 { lib
2 , stdenv
3 , fetchFromBitbucket
4 , cmake
5 , pkg-config
6 , util-linux
7 , libselinux
8 , libsepol
9 , libthai
10 , libdatrie
11 , lerc
12 , libxkbcommon
13 , libepoxy
14 , libXtst
15 , wrapGAppsHook3
16 , pixman
17 , libpthreadstubs
18 , gtkmm3
19 , libXau
20 , libXdmcp
21 , lcms2
22 , libraw
23 , libiptcdata
24 , fftw
25 , expat
26 , pcre2
27 , libsigcxx
28 , lensfun
29 , librsvg
30 , libcanberra-gtk3
31 , exiv2
32 , exiftool
33 , mimalloc
34 , openexr_3
35 , ilmbase
36 , opencolorio
37 , color-transformation-language
40 stdenv.mkDerivation rec {
41   pname = "art";
42   version = "1.24.1";
44   src = fetchFromBitbucket {
45     owner = "agriggio";
46     repo = "art";
47     rev = version;
48     hash = "sha256-uvdqU509ri6CKCEGA8Ln5tMp0pe3r/bcJefbeZGjocE=";
49   };
51   nativeBuildInputs = [
52     cmake
53     pkg-config
54     wrapGAppsHook3
55   ];
57   buildInputs = [
58     util-linux
59     libselinux
60     libsepol
61     libthai
62     libdatrie
63     lerc
64     libxkbcommon
65     libepoxy
66     libXtst
67     pixman
68     libpthreadstubs
69     gtkmm3
70     libXau
71     libXdmcp
72     lcms2
73     libraw
74     libiptcdata
75     fftw
76     expat
77     pcre2
78     libsigcxx
79     lensfun
80     librsvg
81     exiv2
82     exiftool
83     libcanberra-gtk3
84     mimalloc
85     openexr_3
86     ilmbase
87     opencolorio
88     color-transformation-language
89   ];
91   cmakeFlags = [
92     "-DPROC_TARGET_NUMBER=2"
93     "-DCACHE_NAME_SUFFIX=\"\""
94     "-DENABLE_OCIO=True"
95     "-DENABLE_CTL=1"
96     "-DCTL_INCLUDE_DIR=${color-transformation-language}/include/CTL"
97   ];
99   CMAKE_CXX_FLAGS = toString [
100     "-std=c++11"
101     "-Wno-deprecated-declarations"
102     "-Wno-unused-result"
103   ];
104   env.CXXFLAGS = "-include cstdint"; # needed at least with gcc13 on aarch64-linux
106   meta = {
107     description = "A raw converter based on RawTherapee";
108     homepage = "https://bitbucket.org/agriggio/art/";
109     license = lib.licenses.gpl3Only;
110     maintainers = with lib.maintainers; [ paperdigits ];
111     mainProgram = "art";
112     platforms = lib.platforms.linux;
113   };