1{ stdenv, buildPythonPackage, fetchPypi, nose }:
2
3buildPythonPackage rec {
4 pname = "beautifulsoup4";
5 version = "4.6.3";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "90f8e61121d6ae58362ce3bed8cd997efb00c914eae0ff3d363c32f9a9822d10";
10 };
11
12 buildInputs = [ nose ];
13 checkPhase = ''
14 nosetests build
15 '';
16
17 meta = with stdenv.lib; {
18 homepage = http://crummy.com/software/BeautifulSoup/bs4/;
19 description = "HTML and XML parser";
20 license = licenses.mit;
21 maintainers = with maintainers; [ domenkozar ];
22 };
23}