anchor.diff:      "--disable-gtk-doc-html"
       "--disable-gtk-doc-pdf"
       "--disable-tools"
  -    "--enable-introspection"
  -    "--disable-vala"
  +    (enFlag "introspection" (gobject-introspection != null) null)
  +    (enFlag "vala" (vala != null) null)
     ];
   
     # It wants to add loaders and update the loaders.cache in gdk-pixbuf
  
positive.code: , libgsf
  , libxml2
  , pango
  }:
  
  stdenv.mkDerivation rec {
    name = "librsvg-${version}";
    versionMajor = "2.40";
    versionMinor = "12";
    version = "${versionMajor}.${versionMinor}";
  
    src = fetchurl {
      url    = "mirror://gnome/sources/librsvg/${versionMajor}/${name}.tar.xz";
      sha256 = "0l5mzwlw6k20hvndvk5xllks20xbddr7b93rsvs9jf5zg11hrr7z";
    };
  
    configureFlags = [
  
negative.code:     libgsf
      libxml2
      pango
      vala
    ];
  
    enableParallelBuilding = true;
  