66 # requires libavif 0.x, see https://github.com/aurelienpierreeng/ansel/blob/e2c4a0a60cd80f741dd3d3c6ab72be9ac11234fb/src/CMakeLists.txt#L356
67 libavif_0_11 = libavif.overrideAttrs rec {
70 src = fetchFromGitHub {
71 owner = "AOMediaCodec";
74 hash = "sha256-mUi0DU99XV3FzUZ8/9uJZU+W3fc6Bk6+y6Z78IRZ9Qs=";
80 version = "0-unstable-2024-09-29";
82 src = fetchFromGitHub {
83 owner = "aurelienpierreeng";
85 rev = "0e942648c4f9b1fd89fee8ca91d6e9bd5e06344c";
86 hash = "sha256-gzIZwbTdGE0+uLScV/JfGW0ZxXIbnnSrYO1OxPS5Xz0=";
87 fetchSubmodules = true;
91 # don't use absolute paths to binary or icon - see https://github.com/NixOS/nixpkgs/issues/308324
92 ./fix-desktop-file.patch
105 python3Packages.jsonschema
110 bash # for patchShebangs to patch scripts in share/ansel/tools/
164 --prefix LD_LIBRARY_PATH ":" "$out/lib/ansel"
168 passthru.updateScript = unstableGitUpdater {
169 # Tags inherited from Darktable, + a "nightly" 0.0.0 tag that new artefacts get attached to
170 hardcodeZeroVersion = true;
173 # cmake can't find the binary itself
175 (lib.cmakeFeature "Xsltproc_BIN" (lib.getExe' libxslt "xsltproc"))
179 description = "Darktable fork minus the bloat plus some design vision";
180 homepage = "https://ansel.photos/";
181 license = lib.licenses.gpl3Plus;
182 maintainers = with lib.maintainers; [ ];
183 mainProgram = "ansel";
184 platforms = lib.platforms.linux;