git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #164416 from r-ryantm/auto-update/python310Packages.cloudscraper

python310Packages.cloudscraper: 1.2.58 -> 1.2.60

commit49dbf1b16e786c490d4faac8c516341f81f9af8f authorRyan Mulligan <ryan@ryantm.com> dateWed 16 Mar 2022, 09:30 (5 years ago) parentb13005f10d73c1
1 file changed+10−6
pkgs/development/python-modules/cloudscraper/default.nix+10−6
pkgs/development/python-modules/cloudscraper/default.nix+10−6
@@ -1,6 +1,6 @@
11{ lib
22, buildPythonPackage
3−, isPy3k
3+, pythonOlder
44, fetchPypi
55, requests
66, requests-toolbelt
@@ -9,12 +9,14 @@
99
1010buildPythonPackage rec {
1111 pname = "cloudscraper";
12− version = "1.2.58";
13− disabled = !isPy3k;
12+ version = "1.2.60";
13+ format = "setuptools";
14+
15+ disabled = pythonOlder "3.7";
1416
1517 src = fetchPypi {
1618 inherit pname version;
17− sha256 = "1wnzv2k8cm8q1x18r4zg8pcnpm4gsdp82hywwjimp2v2qll918nx";
19+ hash = "sha256-DTQTsv/59895UTsMmqxYtSfFosUWPRx8wMT4zKHQ9Oc=";
1820 };
1921
2022 propagatedBuildInputs = [
@@ -27,10 +29,12 @@ buildPythonPackage rec {
2729 # nixpkgs yet, and also aren't included in the PyPI bundle. TODO.
2830 doCheck = false;
2931
30− pythonImportsCheck = [ "cloudscraper" ];
32+ pythonImportsCheck = [
33+ "cloudscraper"
34+ ];
3135
3236 meta = with lib; {
33− description = "A Python module to bypass Cloudflare's anti-bot page";
37+ description = "Python module to bypass Cloudflare's anti-bot page";
3438 homepage = "https://github.com/venomous/cloudscraper";
3539 license = licenses.mit;
3640 maintainers = with maintainers; [ kini ];