1{ lib
2, buildPythonPackage
3, fetchPypi
4, beautifulsoup4
5, requests
6, future
7, pyyaml
8, jsonlines
9}:
10
11buildPythonPackage rec {
12 pname = "cloudflare";
13 version = "2.8.15";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "1f47bd324f80e91487dea2c79be934b1dc612bcfa63e784dcf74c6a2f52a41cc";
18 };
19
20 propagatedBuildInputs = [
21 beautifulsoup4
22 requests
23 future
24 pyyaml
25 jsonlines
26 ];
27
28 # no tests associated with package
29 doCheck = false;
30 pythonImportsCheck = [ "CloudFlare" ];
31
32 meta = with lib; {
33 description = "Python wrapper for the Cloudflare v4 API";
34 homepage = "https://github.com/cloudflare/python-cloudflare";
35 license = licenses.mit;
36 maintainers = [ maintainers.costrouc ];
37 };
38}