Loading pkgs/development/python-modules/cloudflare/default.nix +17 −8 Original line number Diff line number Diff line { 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
pkgs/development/python-modules/cloudflare/default.nix +17 −8 Original line number Diff line number Diff line { 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; [ ]; }; }