2020-05-03 17:38:23 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-09-25 04:45:31 +00:00
|
|
|
, beautifulsoup4
|
2020-05-03 17:38:23 +00:00
|
|
|
, requests
|
|
|
|
, future
|
|
|
|
, pyyaml
|
|
|
|
, jsonlines
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cloudflare";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "2.8.14";
|
2020-05-03 17:38:23 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "5787892fdee3a6408b4290de0371426ab778a7ebf44decad9d843cab1ef0a1ac";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-09-25 04:45:31 +00:00
|
|
|
beautifulsoup4
|
2020-05-03 17:38:23 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|