anchor.diff:    # Not all tests have been converted to Python 3
     doCheck = !isPy3k;
   
  -  meta = with stdenv.lib; {
  +  meta = with lib; {
       description = "HTML/XML parser";
       homepage = http://www.crummy.com/software/BeautifulSoup/;
       license = licenses.mit;
  
positive.code: , buildPythonPackage
  , fetchPyPi
  , isPy3k
  
  , html5lib
  , lxml
  }:
  
  let
    inherit (stdenv.lib)
      optionals;
  
    version = "4.5.1";
  in
  buildPythonPackage rec {
    name = "beautifulsoup-${version}";
  
negative.code:   src = fetchPyPi {
      package = "beautifulsoup4";
      inherit version;
      sha256 = "808b6ac932dccb0a4126558f7dfdcf41710dd44a4ef497a0bb59a77f9f078e89";
    };
  
    propagatedBuildInputs = [
  