anchor.diff:  in
   stdenv.mkDerivation rec {
     name = "slic3r-prusa-edition-${version}";
  -  version = "1.39.2";
  +  version = "1.40.0";
   
     enableParallelBuilding = true;
   
     buildInputs = [
       cmake
  +    curl
       perl
       makeWrapper
       eigen
  
positive.code: 
    prePatch = ''
      sed -i 's|"/usr/include/asm-generic/ioctls.h"|<asm-generic/ioctls.h>|g' xs/src/libslic3r/GCodeSender.cpp
    '';
  
    postInstall = ''
  
negative.code: { stdenv, fetchFromGitHub, makeWrapper, which, cmake, perl, perlPackages,
    boost, tbb, wxGTK30, pkgconfig, gtk3, fetchurl, gtk2, bash, libGLU,
    glew, eigen, curl }:
  let
    AlienWxWidgets = perlPackages.buildPerlPackage rec {
      name = "Alien-wxWidgets-0.69";
  