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.13";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "a662990737d86984156a48f769e6528d947e90fd1561bb5e19d0036b59b9fd6f";
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}