mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
python: beautifulsoup4: 4.6.3 -> 4.7.1
This commit is contained in:
parent
c11eba29aa
commit
a696666ca5
@ -1,19 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, soupsieve, pytest, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "beautifulsoup4";
|
||||
version = "4.6.3";
|
||||
version = "4.7.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "90f8e61121d6ae58362ce3bed8cd997efb00c914eae0ff3d363c32f9a9822d10";
|
||||
sha256 = "945065979fb8529dd2f37dbb58f00b661bdbcbebf954f93b32fdf5263ef35348";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
nosetests build
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user