about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cfscrape/default.nix
blob: 0152506787033c8341d2dbfdb6469950259db9b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:

buildPythonPackage rec {
  pname = "cfscrape";
  version = "2.1.1";
  format = "setuptools";
  src = fetchFromGitHub ({
    owner = "Anorov";
    repo = "cloudflare-scrape";
    rev = "9692fe7ff3c17b76ddf0f4d50d3dba7d1791c9c6";
    hash = "sha256-uO8lBZonjk+mlFYoNSaz+GIN/W9yf8VL9OQ7MKfsMgI=";
  });

  propagatedBuildInputs = [ requests ];

  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/Anorov/cloudflare-scrape";
    description = "A Python module to bypass Cloudflare's anti-bot page";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ ];
  };
}