Files
nixpkgs/pkgs/by-name/ar/art/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

116 lines
1.8 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
util-linux,
libselinux,
libsepol,
libthai,
libdatrie,
lerc,
libxkbcommon,
libepoxy,
libXtst,
wrapGAppsHook3,
pixman,
libpthreadstubs,
gtkmm3,
libXau,
libXdmcp,
lcms2,
libraw,
libiptcdata,
fftw,
expat,
pcre2,
libsigcxx,
lensfun,
librsvg,
libcanberra-gtk3,
exiv2,
exiftool,
mimalloc,
openexr,
ilmbase,
opencolorio,
color-transformation-language,
}:
stdenv.mkDerivation rec {
pname = "art";
version = "1.25.9";
src = fetchFromGitHub {
owner = "artpixls";
repo = "ART";
tag = version;
hash = "sha256-dg0msZ0aeyl4L7RqqGur9Lalu1QtE0igEc54WT5F+SQ=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapGAppsHook3
];
buildInputs = [
util-linux
libselinux
libsepol
libthai
libdatrie
lerc
libxkbcommon
libepoxy
libXtst
pixman
libpthreadstubs
gtkmm3
libXau
libXdmcp
lcms2
libraw
libiptcdata
fftw
expat
pcre2
libsigcxx
lensfun
librsvg
exiv2
exiftool
libcanberra-gtk3
mimalloc
openexr
ilmbase
opencolorio
color-transformation-language
];
cmakeFlags = [
"-DPROC_TARGET_NUMBER=2"
"-DCACHE_NAME_SUFFIX=\"\""
"-DENABLE_OCIO=True"
"-DENABLE_CTL=1"
"-DCTL_INCLUDE_DIR=${color-transformation-language}/include/CTL"
];
CMAKE_CXX_FLAGS = toString [
"-std=c++11"
"-Wno-deprecated-declarations"
"-Wno-unused-result"
];
env.CXXFLAGS = "-include cstdint"; # needed at least with gcc13 on aarch64-linux
meta = {
description = "Raw converter based on RawTherapee";
homepage = "https://art.pixls.us";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ paperdigits ];
mainProgram = "art";
platforms = lib.platforms.linux;
};
}