nixpkgs/pkgs/development/python-modules/html5-parser/default.nix
2019-05-22 10:32:46 -07:00

23 lines
607 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pkgs, pkgconfig, chardet, lxml }:
buildPythonPackage rec {
pname = "html5-parser";
version = "0.4.6";
src = fetchPypi {
inherit pname version;
sha256 = "0pxcwk5lc8ljil77xqywr0bq1xxj11z92lpfj185ac72d2b1sma5";
};
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;
};
}