1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/beautifulsoup4/default.nix

26 lines
643 B
Nix
Raw Normal View History

2019-02-14 07:37:11 +00:00
{ stdenv, buildPythonPackage, fetchPypi, soupsieve, pytest, python }:
buildPythonPackage rec {
pname = "beautifulsoup4";
2019-02-14 07:37:11 +00:00
version = "4.7.1";
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:11 +00:00
sha256 = "945065979fb8529dd2f37dbb58f00b661bdbcbebf954f93b32fdf5263ef35348";
};
2019-02-14 07:37:11 +00:00
checkInputs = [ pytest ];
checkPhase = ''
2019-02-14 07:37:11 +00:00
py.test $out/${python.sitePackages}/bs4/tests
'';
2019-02-14 07:37:11 +00:00
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 ];
};
}