anchor.diff:    };
   
   in pythonPackages.buildPythonApplication rec {
  -  name = "OctoPrint-${version}";
  -  version = "1.3.6";
  +  pname = "OctoPrint";
  +  version = "1.3.8";
   
     src = fetchFromGitHub {
       owner = "foosel";
       repo = "OctoPrint";
       rev = version;
  -    sha256 = "0pgpkjw5zjnks5bky51gjaksq8mhrzkl52kpgf799hl35pd08xr3";
  +    sha256 = "00zd5yrlihwfd3ly0mxibr77ffa8r8vkm6jhml2ml43dqb99caa3";
     };
   
     # We need old Tornado
  
positive.code:     psutil pyserial flask_login netaddr markdown sockjs-tornado
      pylru pyyaml sarge feedparser netifaces click websocket_client
      scandir chainmap future dateutil futures wrapt monotonic emoji
    ];
  
    buildInputs = with pythonPackages; [ nose mock ddt ];
  
    # Jailbreak dependencies.
    postPatch = ''
  
negative.code:     overrides = self: super: with self; {
        backports_ssl_match_hostname = self.backports_ssl_match_hostname_3_4_0_2;
  
        flask = super.flask.overridePythonAttrs (oldAttrs: rec {
          version = "0.12.4";
          src = oldAttrs.src.override {
            inherit version;
            sha256 = "2ea22336f6d388b4b242bc3abf8a01244a8aa3e236e7407469ef78c16ba355dd";
          };
        });
  
        tornado = buildPythonPackage rec {
          pname = "tornado";
          version = "4.0.2";
  
          propagatedBuildInputs = [ backports_ssl_match_hostname certifi ];
  
          src = fetchPypi {
            inherit pname version;
            sha256 = "1yhvn8i05lp3b1953majg48i8pqsyj45h34aiv59hrfvxcj5234h";
          };
        };
  
        flask_login = buildPythonPackage rec {
          pname = "Flask-Login";
          version = "0.2.2";
  
          src = fetchPypi {
            inherit pname version;
            sha256 = "09ygn0r3i3jz065a5psng6bhlsqm78msnly4z6x39bs48r5ww17p";
          };
  
          propagatedBuildInputs = [ flask ];
          checkInputs = [ nose ];
  
          # No tests included
          doCheck = false;
  