summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-09-19 09:24:38 +0200
committerGitHub <noreply@github.com>2022-09-19 09:24:38 +0200
commit96281a27aee9c5242239a61788f37940c2fc880d (patch)
treef37a67cad5f6f137a0bee80d34f4d41527766357 /pkgs
parent70fc4f29658130716672b77a187ce1676e4e73ff (diff)
parenta315f4a2762445e17f2b7aceed9adbb9534a666f (diff)
Merge pull request #191786 from fabaff/mechanicalsoup-bump
python310Packages.mechanicalsoup: 1.1.0 -> 1.2.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/mechanicalsoup/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/mechanicalsoup/default.nix b/pkgs/development/python-modules/mechanicalsoup/default.nix
index 5f11d5cc9e85a..3dcfee1557500 100644
--- a/pkgs/development/python-modules/mechanicalsoup/default.nix
+++ b/pkgs/development/python-modules/mechanicalsoup/default.nix
@@ -1,27 +1,28 @@
 { lib
 , beautifulsoup4
 , buildPythonPackage
-, pythonAtLeast
 , fetchFromGitHub
 , lxml
 , pytest-httpbin
 , pytest-mock
 , pytestCheckHook
+, pythonOlder
 , requests
 , requests-mock
 }:
 
 buildPythonPackage rec {
   pname = "mechanicalsoup";
-  version = "1.1.0";
+  version = "1.2.0";
+  format = "setuptools";
 
-  disabled = ! pythonAtLeast "3.6";
+  disabled = pythonOlder "3.7";
 
   src = fetchFromGitHub {
     owner = "MechanicalSoup";
     repo = "MechanicalSoup";
     rev = "v${version}";
-    sha256 = "1mly0ivai3rx64frk7a7ra6abhdxm9x3l6s6x7sgrl9qx1z8zsp3";
+    hash = "sha256-Q5oDAgAZYYUYqjDByXNXFNVKmRyjzIGVE4LN9j8vk4c=";
   };
 
   propagatedBuildInputs = [
@@ -45,7 +46,9 @@ buildPythonPackage rec {
       --replace " --cov --cov-config .coveragerc --flake8" ""
   '';
 
-  pythonImportsCheck = [ "mechanicalsoup" ];
+  pythonImportsCheck = [
+    "mechanicalsoup"
+  ];
 
   meta = with lib; {
     description = "Python library for automating interaction with websites";