depot/third_party/nixpkgs/pkgs/development/python-modules/beautifulsoup4/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

46 lines
804 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, html5lib
, lxml
, pytestCheckHook
, pythonOlder
, soupsieve
, sphinxHook
}:
buildPythonPackage rec {
pname = "beautifulsoup4";
version = "4.11.1";
format = "setuptools";
outputs = ["out" "doc"];
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-rZqlW2XvKAjrQF9Gz3Tff8twRNXLwmSH+W6y7y5DZpM=";
};
propagatedBuildInputs = [
html5lib
lxml
soupsieve
];
checkInputs = [
pytestCheckHook
];
nativeBuildInputs = [ sphinxHook ];
pythonImportsCheck = [
"bs4"
];
meta = with lib; {
homepage = "http://crummy.com/software/BeautifulSoup/bs4/";
description = "HTML and XML parser";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
};
}