diff options
| author | Robert Scott <code@humanleg.org.uk> | 2023-08-27 23:24:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-27 23:24:33 +0100 |
| commit | 26e4c7acf74cc8c8bd882d7209602d005250a716 (patch) | |
| tree | f2a43083876bf754f7d4e8030c9f904dabf54e06 | |
| parent | Merge pull request #251751 from NixOS/backport-251025-to-release-23.05 (diff) | |
| parent | python311Packages.mechanicalsoup: 1.2.0 -> 1.3.0 (diff) | |
| download | nixpkgs-26e4c7acf74cc8c8bd882d7209602d005250a716.tar.gz | |
Merge pull request #251765 from NixOS/backport-241611-to-release-23.05
[Backport release-23.05] python311Packages.mechanicalsoup: 1.2.0 -> 1.3.0
| -rw-r--r-- | pkgs/development/python-modules/mechanicalsoup/default.nix | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/mechanicalsoup/default.nix b/pkgs/development/python-modules/mechanicalsoup/default.nix index 4d68f71d2b06..114efb9e0c82 100644 --- a/pkgs/development/python-modules/mechanicalsoup/default.nix +++ b/pkgs/development/python-modules/mechanicalsoup/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "mechanicalsoup"; - version = "1.2.0"; + version = "1.3.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -21,10 +21,18 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "MechanicalSoup"; repo = "MechanicalSoup"; - rev = "v${version}"; - hash = "sha256-Q5oDAgAZYYUYqjDByXNXFNVKmRyjzIGVE4LN9j8vk4c="; + rev = "refs/tags/v${version}"; + hash = "sha256-iZ2nwBxikf0cTTlxzcGvHJim4N6ZEqIhlK7t1WAYdms="; }; + postPatch = '' + # Is in setup_requires but not used in setup.py + substituteInPlace setup.py \ + --replace "'pytest-runner'" "" + substituteInPlace setup.cfg \ + --replace " --cov --cov-config .coveragerc --flake8" "" + ''; + propagatedBuildInputs = [ beautifulsoup4 lxml @@ -38,14 +46,6 @@ buildPythonPackage rec { requests-mock ]; - postPatch = '' - # Is in setup_requires but not used in setup.py - substituteInPlace setup.py \ - --replace "'pytest-runner'" "" - substituteInPlace setup.cfg \ - --replace " --cov --cov-config .coveragerc --flake8" "" - ''; - pythonImportsCheck = [ "mechanicalsoup" ]; @@ -53,6 +53,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for automating interaction with websites"; homepage = "https://github.com/hickford/MechanicalSoup"; + changelog = "https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ jgillich fab ]; }; |
