anchor.diff:  { stdenv, fetchFromGitHub, makeWrapper, which, cmake, perl, perlPackages,
     boost, tbb, wxGTK30, pkgconfig, gtk3, fetchurl, gtk2, libGLU,
  -  glew, eigen, curl }:
  +  glew, eigen, curl, gtest, nlopt, pcre, xorg }:
   let
     AlienWxWidgets = perlPackages.buildPerlPackage rec {
       name = "Alien-wxWidgets-0.69";
  
positive.code: in
  stdenv.mkDerivation rec {
    name = "slic3r-prusa-edition-${version}";
    version = "1.40.1";
  
    enableParallelBuilding = true;
  
    buildInputs = [
      cmake
      curl
      perl
      makeWrapper
      eigen
      glew
      tbb
      which
      Wx
      WxGLCanvas
    ] ++ (with perlPackages; [
      boost
      ClassXSAccessor
      EncodeLocale
  
negative.code:   src = fetchFromGitHub {
      owner = "prusa3d";
      repo = "Slic3r";
      sha256 = "1al60hrqbhl05dnsr99hzbmxmn26fyx19sc5zxv816x3q6px9n2d";
      rev = "version_${version}";
    };
  
  