depot/third_party/nixpkgs/pkgs/development/python-modules/html5lib/default.nix
Default email a6d62be0d1 Project import generated by Copybara.
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
2021-12-26 18:43:05 +01:00

43 lines
968 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, webencodings
, mock
, pytest-expect
, pytestCheckHook_5
}:
buildPythonPackage rec {
pname = "html5lib";
version = "1.1";
src = fetchPypi {
inherit pname version;
sha256 = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f";
};
propagatedBuildInputs = [
six
webencodings
];
checkInputs = [
mock
pytest-expect
pytestCheckHook_5
];
meta = {
homepage = "https://github.com/html5lib/html5lib-python";
downloadPage = "https://github.com/html5lib/html5lib-python/releases";
description = "HTML parser based on WHAT-WG HTML5 specification";
longDescription = ''
html5lib is a pure-python library for parsing HTML. It is designed to
conform to the WHATWG HTML specification, as is implemented by all
major web browsers.
'';
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ domenkozar prikhi ];
};
}