anchor.diff:  , buildPythonPackage
   , config
   , fetchPyPi
  +, pythonPackages
   
  +, apscheduler
  +, beautifulsoup
  +, cherrypy
  +, deluge
  +, feedparser
  +, flask
  +, flask-compress
  +, flask-cors
  +, flask-login
  +, flask-restful
  +, flask-restplus
  +, future
  +, guessit
  +, html5lib
  +, jinja2
  +, jsonschema
  +, pathlib
  +, pathpy
   , pkgs
  -, pythonPackages
  +#, progressbar
  +, pynzb
  +, pyparsing
  +, pyrss2gen
  +, python-dateutil
  +, pyyaml
  +, requests2
  +, rpyc
  +, safe
  +, sqlalchemy
  +, transmissionrpc
   }:
   
   let
  
positive.code: 
  buildPythonPackage rec {
    name = "flexget-${version}";
    version = "2.0.24";
  
    src = fetchPyPi {
      package = "FlexGet";
      inherit version;
      sha256 = "ab03b63cab522ace9ab8cd59e9c98a72b9239d3b425187096b2289a46d5bcc56";
    };
  
    postPatch =
  
negative.code:     '';
  
    propagatedBuildInputs = [
      apscheduler
      beautifulsoup
      cherrypy
      feedparser
      flask
      flask-compress
      flask-cors
      flask-login
      flask-restful
      flask-restplus
      future
      guessit
      html5lib
      jinja2
      jsonschema
      pathpy
      #progressbar
      pynzb
      pyparsing
      pyrss2gen
      python-dateutil
      pyyaml
      requests2
      rpyc
      safe
      sqlalchemy
  
      #paver
      #python-tvrage
      #tmdb3
      transmissionrpc
    ] ++ optionals (pythonOlder "3.4") [
      pathlib
    ] ++ optionals (config.deluge or false) [
      deluge
    ];
  
    disabled = isPy3k;
  