From 99e583be0061af440e4a9717f4193d2923ff2348 Mon Sep 17 00:00:00 2001 From: Marc Bornand Date: Fri, 8 Aug 2025 17:33:31 +0200 Subject: [PATCH] ansel: fix compilation use saxon instead of libxslt like darktable remove insecure libsoup_2_4 move libxml2 to buildInputs --- pkgs/by-name/an/ansel/package.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/an/ansel/package.nix b/pkgs/by-name/an/ansel/package.nix index 89e301c54729..b5701f4f5094 100644 --- a/pkgs/by-name/an/ansel/package.nix +++ b/pkgs/by-name/an/ansel/package.nix @@ -11,7 +11,6 @@ lib, stdenv, fetchFromGitHub, - libxslt, libxml2, cmake, exiftool, @@ -45,7 +44,6 @@ isocodes, libpsl, libepoxy, - libsoup_2_4, exiv2, libXtst, libthai, @@ -61,6 +59,7 @@ libgcrypt, graphicsmagick, unstableGitUpdater, + saxon, }: let @@ -103,11 +102,11 @@ stdenv.mkDerivation { desktop-file-utils exiftool intltool - libxml2 pkg-config perlPackages.perl python3Packages.jsonschema wrapGAppsHook3 + saxon ]; buildInputs = [ @@ -142,13 +141,12 @@ stdenv.mkDerivation { libsecret libselinux libsepol - libsoup_2_4 libsysprof-capture libthai libwebp libXdmcp libxkbcommon - libxslt + libxml2 libXtst openexr openjpeg @@ -174,11 +172,6 @@ stdenv.mkDerivation { hardcodeZeroVersion = true; }; - # cmake can't find the binary itself - cmakeFlags = [ - (lib.cmakeFeature "Xsltproc_BIN" (lib.getExe' libxslt "xsltproc")) - ]; - meta = { description = "Darktable fork minus the bloat plus some design vision"; homepage = "https://ansel.photos/";