depot/third_party/nixpkgs/pkgs/development/python-modules/beautifulsoup4/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
645 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, soupsieve, pytest, python }:
buildPythonPackage rec {
pname = "beautifulsoup4";
version = "4.8.2";
src = fetchPypi {
inherit pname version;
sha256 = "05fd825eb01c290877657a56df4c6e4c311b3965bda790c613a3d6fb01a5462a";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test $out/${python.sitePackages}/bs4/tests
'';
propagatedBuildInputs = [ soupsieve ];
meta = with stdenv.lib; {
homepage = "http://crummy.com/software/BeautifulSoup/bs4/";
description = "HTML and XML parser";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
};
}