8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
22 lines
621 B
Nix
22 lines
621 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pkgs, pkgconfig, chardet, lxml }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "html5-parser";
|
|
version = "0.4.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "25fe8f6848cbc15187f6748c0695df32bcf1b37df6420b6a01b4ebe1ec1ed48f";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
propagatedBuildInputs = [ chardet lxml pkgs.libxml2 ];
|
|
|
|
doCheck = false; # No such file or directory: 'run_tests.py'
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Fast C based HTML 5 parsing for python";
|
|
homepage = "https://html5-parser.readthedocs.io";
|
|
license = licenses.asl20;
|
|
};
|
|
}
|