Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
973 B · 52 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchPypi, setuptools, requests, pyyaml, jsonlines, pythonOlder, pytestCheckHook, pytz,}:
buildPythonPackage rec { pname = "cloudflare"; version = "2.20.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-Rq78Od+qI2XWObQjzsLNU1CuERU8ckfT6zVFvc8Bpoo="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests pyyaml jsonlines ];
# 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 = [ ]; };}