anchor.diff:  , glib
   , babl
   , libpng
  +, llvmPackages
   , cairo
   , libjpeg
   , librsvg
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "gegl";
    version = "0.4.38";
  
    outputs = [ "out" "dev" "devdoc" ];
    outputBin = "dev";
  
    src = fetchurl {
      url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "sha256-5KM8hDClBC+6hDm1lTSOcYcPDZX7+IX/VT+QIMG+11A=";
    };
  
    nativeBuildInputs = [
  
negative.code:     luajit
      openexr
      suitesparse
    ] ++ lib.optionals stdenv.isDarwin [
      OpenCL
    ] ++ lib.optionals stdenv.cc.isClang [
      llvmPackages.openmp
    ];
  
    # for gegl-4.0.pc
    propagatedBuildInputs = [
  