mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 06:44:06 +00:00
Merge pull request #287570 from r-ryantm/auto-update/python311Packages.cloudflare
python311Packages.cloudflare: 2.17.0 -> 2.18.0
This commit is contained in:
commit
61e7bee4f1
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user