1 { fetchPypi, buildPythonPackage, lib
2 , requests, beautifulsoup4, six, lxml
3 , pytestrunner, requests-mock, pytestcov, pytest
6 buildPythonPackage rec {
7 pname = "MechanicalSoup";
11 inherit pname version;
12 sha256 = "37d3b15c1957917d3ae171561e77f4dd4c08c35eb4500b8781f6e7e1bb6c4d07";
15 checkInputs = [ pytest pytestrunner requests-mock pytestcov ];
17 propagatedBuildInputs = [ lxml requests beautifulsoup4 six ];
23 # Is in setup_requires but not used in setup.py...
24 substituteInPlace setup.py --replace "'pytest-runner'" ""
28 description = "A Python library for automating interaction with websites";
29 homepage = "https://github.com/hickford/MechanicalSoup";
30 license = licenses.mit;
31 maintainers = [ maintainers.jgillich ];