anchor.diff:    # See https://github.com/NixOS/nixpkgs/pull/98734#discussion_r495823510
     doCheck = false;
   
  +  pythonImportsCheck = [ "zerobin" ];
  +
     meta = with lib; {
       description = "A client side encrypted pastebin";
       homepage = "https://0bin.net/";
  
positive.code:     lockfile
      paste
    ];
    prePatch = ''
      # replace /bin/bash in compress.sh
      patchShebangs .
  
      # relax version constraints of some dependencies
      substituteInPlace setup.cfg \
        --replace "bleach==3.1.5" "bleach>=3.1.5,<4" \
        --replace "bottle==0.12.18" "bottle>=0.12.18,<1" \
        --replace "Paste==3.4.3" "Paste>=3.4.3,<4"
    '';
    buildPhase = ''
      runHook preBuild
      doit build
  
negative.code:     python3Packages.pyscss
      nodePackages.uglify-js
    ];
  
    propagatedBuildInputs = with python3Packages; [
      appdirs
      beaker
  