Skip to content

Commit

Permalink
gdal: add libavif optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Nov 24, 2024
1 parent cd5b40a commit 1677c4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/gdal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
useArrow ? (!useMinimalFeatures),
useHDF ? (!useMinimalFeatures),
useJava ? (!useMinimalFeatures),
useLibAvif ? (!useMinimalFeatures),
useLibHEIF ? (!useMinimalFeatures),
useLibJXL ? (!useMinimalFeatures),
useMysql ? (!useMinimalFeatures),
Expand Down Expand Up @@ -42,6 +43,7 @@
json_c,
lerc,
libaom,
libavif,
libde265,
libdeflate,
libgeotiff,
Expand Down Expand Up @@ -137,6 +139,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs =
let
tileDbDeps = lib.optionals useTiledb [ tiledb ];
libAvifDeps = lib.optionals useLibAvif [ libavif ];
libHeifDeps = lib.optionals useLibHEIF [
libheif
dav1d
Expand Down Expand Up @@ -205,6 +208,7 @@ stdenv.mkDerivation (finalAttrs: {
python3.pkgs.numpy
]
++ tileDbDeps
++ libAvifDeps
++ libHeifDeps
++ libJxlDeps
++ mysqlDeps
Expand Down

0 comments on commit 1677c4a

Please sign in to comment.