anchor.diff:    passthru = rec {
       # The declarations for `gimp-with-plugins` wrapper,
       # used for determining plug-in installation paths
  -    majorVersion = "${stdenv.lib.versions.major version}.0";
  +    majorVersion = "${lib.versions.major version}.0";
       targetPluginDir = "lib/gimp/${majorVersion}/plug-ins";
       targetScriptDir = "lib/gimp/${majorVersion}/scripts";
   
  
positive.code:   version = "2.10.14";
  
    src = fetchurl {
      url = "http://download.gimp.org/pub/gimp/v${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
      sha256 = "0m6wdnfvsxyhimdd4v3351g4r1fklllnbipbwcfym3h7q88hz6yz";
    };
  
    nativeBuildInputs = [ pkgconfig intltool gettext wrapPython ];
    propagatedBuildInputs = [ gegl ]; # needed by gimp-2.0.pc
    buildInputs = [
      babl gegl gtk2 glib gdk-pixbuf pango cairo gexiv2 harfbuzz isocodes
      freetype fontconfig lcms libpng libjpeg poppler poppler_data libtiff openexr
      libmng librsvg libwmf zlib libzip ghostscript aalib shared-mime-info libwebp libheif
      python pygtk libexif xorg.libXpm glib-networking libmypaint mypaint-brushes
    ] ++ stdenv.lib.optionals stdenv.isDarwin [
      AppKit Cocoa gtk-mac-integration-gtk2
    ] ++ stdenv.lib.optionals stdenv.isLinux [ libgudev ];
  
    pythonPath = [ pygtk ];
  
  
negative.code: { stdenv
  , lib
  , fetchurl
  , substituteAll
  , pkgconfig
  , intltool
  , babl
  , gegl
  , gtk2
  , glib
  , gdk-pixbuf
  , isocodes
  , pango
  , cairo
  , freetype
  , fontconfig
  , lcms
  , libpng
  , libjpeg
  , poppler
  , poppler_data
  , libtiff
  , libmng
  , librsvg
  , libwmf
  , zlib
  , libzip
  , ghostscript
  , aalib
  , shared-mime-info
  , python2Packages
  , libexif
  , gettext
  , xorg
  , glib-networking
  , libmypaint
  , gexiv2
  , harfbuzz
  , mypaint-brushes
  , libwebp
  , libheif
  , libgudev
  , openexr
  , AppKit
  , Cocoa
  , gtk-mac-integration-gtk2
  }:
  
  let
    inherit (python2Packages) pygtk wrapPython python;
  