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:     description = "G-code generator for 3D printer";
      homepage = https://github.com/prusa3d/Slic3r;
      license = licenses.agpl3;
      platforms = subtractLists ["aarch64-linux"] platforms.linux;
      maintainers = with maintainers; [ tweber ];
    };
  }
  