at 23.05-pre 51 lines 833 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, chardet 5, html5lib 6, lxml 7, pytestCheckHook 8, pythonOlder 9, soupsieve 10, sphinxHook 11}: 12 13buildPythonPackage rec { 14 pname = "beautifulsoup4"; 15 version = "4.11.1"; 16 format = "setuptools"; 17 outputs = ["out" "doc"]; 18 19 disabled = pythonOlder "3.6"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-rZqlW2XvKAjrQF9Gz3Tff8twRNXLwmSH+W6y7y5DZpM="; 24 }; 25 26 nativeBuildInputs = [ 27 sphinxHook 28 ]; 29 30 propagatedBuildInputs = [ 31 chardet 32 html5lib 33 lxml 34 soupsieve 35 ]; 36 37 checkInputs = [ 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ 42 "bs4" 43 ]; 44 45 meta = with lib; { 46 homepage = "http://crummy.com/software/BeautifulSoup/bs4/"; 47 description = "HTML and XML parser"; 48 license = licenses.mit; 49 maintainers = with maintainers; [ domenkozar ]; 50 }; 51}