2020-04-22 14:36:04 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-08-29 18:59:51 +01:00
|
|
|
, beautifulsoup4
|
2020-04-22 14:36:04 +01:00
|
|
|
, requests
|
|
|
|
, future
|
|
|
|
, pyyaml
|
|
|
|
, jsonlines
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cloudflare";
|
2021-01-02 06:59:21 +00:00
|
|
|
version = "2.8.15";
|
2020-04-22 14:36:04 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-02 06:59:21 +00:00
|
|
|
sha256 = "1f47bd324f80e91487dea2c79be934b1dc612bcfa63e784dcf74c6a2f52a41cc";
|
2020-04-22 14:36:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-08-29 18:59:51 +01:00
|
|
|
beautifulsoup4
|
2020-04-22 14:36:04 +01:00
|
|
|
requests
|
|
|
|
future
|
|
|
|
pyyaml
|
|
|
|
jsonlines
|
|
|
|
];
|
|
|
|
|
|
|
|
# no tests associated with package
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "CloudFlare" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python wrapper for the Cloudflare v4 API";
|
|
|
|
homepage = "https://github.com/cloudflare/python-cloudflare";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|