3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/beautifulsoup4/default.nix

41 lines
697 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, html5lib
, lxml
, pytestCheckHook
, pythonOlder
, soupsieve
}:
buildPythonPackage rec {
pname = "beautifulsoup4";
version = "4.10.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-wjrSPFIdgYlVpBUaZ9gVgDGdS/VI09SfQiOuBB/5iJE=";
};
propagatedBuildInputs = [
html5lib
lxml
soupsieve
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "bs4" ];
2019-02-14 07:37:11 +00:00
meta = with lib; {
homepage = "http://crummy.com/software/BeautifulSoup/bs4/";
description = "HTML and XML parser";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
};
}