anchor.diff:        --replace "marshmallow-sqlalchemy>=0.22.0, <0.24.0" "marshmallow-sqlalchemy" \
         --replace "Flask-JWT-Extended>=3.18, <4" "Flask-JWT-Extended>=4.1.0" \
         --replace "PyJWT>=1.7.1, <2.0.0" "PyJWT>=2.0.1" \
  +      --replace "prison>=0.2.1, <1.0.0" "prison" \
         --replace "SQLAlchemy<1.4.0" "SQLAlchemy"
     '';
   
  
positive.code: 
    postPatch = ''
      substituteInPlace setup.py \
        --replace "apispec[yaml]>=3.3, <4" "apispec[yaml] >=3.3, <5" \
        --replace "click>=6.7, <8" "click" \
        --replace "Flask>=0.12, <2" "Flask" \
        --replace "Flask-Login>=0.3, <0.5" "Flask-Login >=0.3, <0.6" \
        --replace "Flask-Babel>=1, <2" "Flask-Babel >=1, <3" \
  
negative.code: 
  buildPythonPackage rec {
    pname = "flask-appbuilder";
    version = "3.3.3";
  
    src = fetchPypi {
      pname = "Flask-AppBuilder";
      inherit version;
      sha256 = "sha256-yjb4dpcQt2se5GT+wodh4UC9LAF4JmYrdX89VIdkk0U=";
    };
  
    # See here: https://github.com/dpgaspar/Flask-AppBuilder/commit/7097a7b133f27c78d2b54d2a46e4a4c24478a066.patch
  