2017-09-05 10:16:41 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "beautifulsoup4";
|
2018-08-13 08:22:27 +01:00
|
|
|
version = "4.6.3";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-13 08:22:27 +01:00
|
|
|
sha256 = "90f8e61121d6ae58362ce3bed8cd997efb00c914eae0ff3d363c32f9a9822d10";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests build
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://crummy.com/software/BeautifulSoup/bs4/;
|
|
|
|
description = "HTML and XML parser";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|