anchor.diff:      fetchSubmodules = true;
     };
   
  -  nativeBuildInputs = [ pkgconfig ];
  +  nativeBuildInputs = [
  +    pkgconfig cmake wrapGAppsHook
  +  ];
     buildInputs = [
  -    cmake zlib libpng cairo freetype
  +    zlib libpng cairo freetype
       json_c fontconfig gtkmm3 pangomm glew mesa_glu
       xlibs.libpthreadstubs xlibs.libXdmcp pcre
     ];
  
positive.code: { stdenv, fetchgit, cmake, pkgconfig, zlib, libpng, cairo, freetype
  , json_c, fontconfig, gtkmm3, pangomm, glew, mesa_glu, xlibs, pcre
  }:
  stdenv.mkDerivation rec {
    name = "solvespace-2.3-20170808";
  
negative.code:       --replace /usr/bin/ $out/bin/
    '';
  
    meta = with stdenv.lib; {
      description = "A parametric 3d CAD program";
      license = licenses.gpl3;
      maintainers = [ maintainers.edef ];
      platforms = platforms.linux;
      homepage = http://solvespace.com;
    };
  }
  