Commit e9583cc8 authored by Mario Rodas's avatar Mario Rodas
Browse files

python310Packages.html5-parser: 0.4.10 -> 0.4.11

parent 893f073f
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, pkgs, pkg-config, chardet, lxml }:
{ lib, buildPythonPackage, fetchPypi, pkgs, pkg-config, chardet, lxml, beautifulsoup4 }:

buildPythonPackage rec {
  pname = "html5-parser";
  version = "0.4.10";
  version = "0.4.11";

  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "f9294418c0da95c2d5facc19d3dc32941093a6b8e3b3e4b36cc7b5a1697fbca4";
    sha256 = "sha256-hbsW+qPN88bGhC4Mss4CgHy678bjuw87jhjavlEHB2M=";
  };

  nativeBuildInputs = [ pkg-config ];
  propagatedBuildInputs = [ chardet lxml pkgs.libxml2 ];

  doCheck = false; # No such file or directory: 'run_tests.py'
  nativeCheckInputs = [ beautifulsoup4 ];

  pythonImportsCheck = [
    "html5_parser"
  ];

  meta = with lib; {
    description = "Fast C based HTML 5 parsing for python";