Skip to content

Commit d05c2e3

Browse files
author
Charlie Root
committed
imagemagick: Add fftw support
1 parent d2dfc1a commit d05c2e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkgs/applications/graphics/ImageMagick/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
, openjpegSupport ? !stdenv.hostPlatform.isMinGW, openjpeg
2525
, libwebpSupport ? !stdenv.hostPlatform.isMinGW, libwebp
2626
, libheifSupport ? true, libheif
27+
, fftwSupport ? true, fftw
2728
, potrace
2829
, coreutils
2930
, curl
@@ -76,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
7677
(lib.withFeature libjxlSupport "jxl")
7778
(lib.withFeatureAs ghostscriptSupport "gs-font-dir" "${ghostscript.fonts}/share/fonts")
7879
(lib.withFeature ghostscriptSupport "gslib")
80+
(lib.withFeature fftwSupport "fftw")
7981
] ++ lib.optionals stdenv.hostPlatform.isMinGW [
8082
# due to libxml2 being without DLLs ATM
8183
"--enable-static" "--disable-shared"
@@ -113,7 +115,8 @@ stdenv.mkDerivation (finalAttrs: {
113115
++ lib.optional lcms2Support lcms2
114116
++ lib.optional libX11Support libX11
115117
++ lib.optional libXtSupport libXt
116-
++ lib.optional libwebpSupport libwebp;
118+
++ lib.optional libwebpSupport libwebp
119+
++ lib.optional fftwSupport fftw;
117120

118121
postInstall = ''
119122
(cd "$dev/include" && ln -s ImageMagick* ImageMagick)

0 commit comments

Comments
 (0)