pythonPackages.cloudflare: init at 2.6.5

This commit is contained in:
Chris Ostrouchov
2020-04-22 09:36:04 -04:00
committed by Jon
parent cc89b93798
commit 359c6b5bc1
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, future
, pyyaml
, jsonlines
}:
buildPythonPackage rec {
pname = "cloudflare";
version = "2.6.5";
src = fetchPypi {
inherit pname version;
sha256 = "4463d5f2927338384169315f34c2a8ac0840075b59489f8d1d773b91caba6c39";
};
propagatedBuildInputs = [
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 ];
};
}