mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 08:30:21 +02:00
Merge pull request #191786 from fabaff/mechanicalsoup-bump
python310Packages.mechanicalsoup: 1.1.0 -> 1.2.0
This commit is contained in:
commit
96281a27ae
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue