python311Packages.cloudflare: 2.17.0 -> 2.18.1

Changelog: https://github.com/cloudflare/python-cloudflare/blob/2.18.1/CHANGELOG.md
This commit is contained in:
Robert Schütz 2024-02-09 15:26:45 -08:00
parent 61950db5f8
commit e98791a204

View file

@ -1,46 +1,55 @@
{ lib
, buildPythonPackage
, fetchPypi
, attrs
, setuptools
, requests
, future
, pyyaml
, jsonlines
, pythonOlder
, pytestCheckHook
, pytz
}:
buildPythonPackage rec {
pname = "cloudflare";
version = "2.17.0";
format = "setuptools";
version = "2.18.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-B2jTIYRKrMu+PXf3zifxW5NW3/rIHqlPrgErObuO6D4=";
hash = "sha256-dTD9HO26elFdfNMJxlyK1jKf4xWcz98/XrKI3EpUSsc=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
attrs
requests
future
pyyaml
jsonlines
];
# no tests associated with package
# tests require networking
doCheck = false;
pythonImportsCheck = [
"CloudFlare"
];
nativeCheckInputs = [
pytestCheckHook
pytz
];
meta = with lib; {
description = "Python wrapper for the Cloudflare v4 API";
homepage = "https://github.com/cloudflare/python-cloudflare";
changelog = "https://github.com/cloudflare/python-cloudflare/blob/${version}/CHANGELOG.md";
license = licenses.mit;
mainProgram = "cli4";
maintainers = with maintainers; [ ];
};
}