depot/third_party/nixpkgs/pkgs/development/python-modules/cloudflare/default.nix
Default email 4fc29cb41f Project import generated by Copybara.
GitOrigin-RevId: 135073a87b7e2c631739f4ffa016e1859b1a425e
2020-05-29 08:06:01 +02:00

36 lines
686 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, future
, pyyaml
, jsonlines
}:
buildPythonPackage rec {
pname = "cloudflare";
version = "2.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "0w8ihj9gram2d4wkbki8f6gr8hsd950b3wzfi1qqqm17lqfk8k7h";
};
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 ];
};
}