14 buildPythonPackage rec {
15 pname = "mechanicalsoup";
17 format = "setuptools";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
22 owner = "MechanicalSoup";
23 repo = "MechanicalSoup";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-iZ2nwBxikf0cTTlxzcGvHJim4N6ZEqIhlK7t1WAYdms=";
29 # Is in setup_requires but not used in setup.py
30 substituteInPlace setup.py \
31 --replace "'pytest-runner'" ""
32 substituteInPlace setup.cfg \
33 --replace " --cov --cov-config .coveragerc --flake8" ""
36 propagatedBuildInputs = [
42 __darwinAllowLocalNetworking = true;
51 pythonImportsCheck = [
56 description = "Python library for automating interaction with websites";
57 homepage = "https://github.com/hickford/MechanicalSoup";
58 changelog = "https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v${version}";
59 license = licenses.mit;
60 maintainers = with maintainers; [ jgillich fab ];