anchor.diff:      sha256 = "0fndgbm1mkqb1sn2v2kj3nx9mxj70jbp31y2bjvzcmmkry0q3k5j";
     };
   
  -  nativeBuildInputs = [ makeWrapper ];
  +  nativeBuildInputs = [ imagemagick makeWrapper ];
   
     buildInputs = [
       xlibsWrapper
  
positive.code: , fetchurl
  , xlibsWrapper
  , makeWrapper
  , libXpm
  , libXmu
  , libXi
  
negative.code: 
      wrapProgram $out/bin/xfig \
        --set XAPPLRESDIR $out/share/X11/app-defaults
  
      mkdir -p $out/share/icons/hicolor/{16x16,22x22,48x48,64x64}/apps
  
      for dimension in 16x16 22x22 48x48; do
        convert doc/html/images/xfig-logo.png -geometry $dimension\
          $out/share/icons/hicolor/16x16/apps/xfig.png
      done
      install doc/html/images/xfig-logo.png \
        $out/share/icons/hicolor/64x64/apps/xfig.png
    '';
  
    enableParallelBuilding = true;
  