14 buildPythonPackage rec {
15 pname = "mechanicalsoup";
17 format = "setuptools";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
22 owner = "MechanicalSoup";
23 repo = "MechanicalSoup";
25 hash = "sha256-Q5oDAgAZYYUYqjDByXNXFNVKmRyjzIGVE4LN9j8vk4c=";
28 propagatedBuildInputs = [
42 # Is in setup_requires but not used in setup.py
43 substituteInPlace setup.py \
44 --replace "'pytest-runner'" ""
45 substituteInPlace setup.cfg \
46 --replace " --cov --cov-config .coveragerc --flake8" ""
49 pythonImportsCheck = [
54 description = "Python library for automating interaction with websites";
55 homepage = "https://github.com/hickford/MechanicalSoup";
56 license = licenses.mit;
57 maintainers = with maintainers; [ jgillich fab ];