Merge commit '3b29468313bc8604fe8f85c8d9316fd276d3985c' into HEAD

This commit is contained in:
Frederik Rietdijk
2017-08-21 04:44:40 +02:00
117 changed files with 614 additions and 652 deletions

View File

@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, pkgs, pkgconfig, chardet, lxml }:
buildPythonPackage rec {
pname = "html5-parser";
version = "0.4.3";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "173vzg214x7qfq201m4b09wg5nszdgwjw5q02v23k54iqm3kcpnx";
};
buildInputs = [ 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;
};
}