pypy3Packages.tkinter: enable and make no-op (#379087)
[NixPkgs.git] / pkgs / development / python-modules / sendgrid / default.nix
blobbed2259662e4ca78dfb0c4eb7022789b8f36ada8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flask,
6   pytestCheckHook,
7   python-http-client,
8   pythonOlder,
9   pyyaml,
10   starkbank-ecdsa,
11   six,
12   werkzeug,
15 buildPythonPackage rec {
16   pname = "sendgrid";
17   version = "6.11.0";
18   format = "setuptools";
20   disabled = pythonOlder "3.6";
22   src = fetchFromGitHub {
23     owner = pname;
24     repo = "sendgrid-python";
25     tag = version;
26     hash = "sha256-wcQLdU80pcyEplzL8lnehtToqYiTrX1n5TjmK5zturE=";
27   };
29   propagatedBuildInputs = [
30     python-http-client
31     starkbank-ecdsa
32     six
33   ];
35   nativeCheckInputs = [
36     flask
37     pytestCheckHook
38     pyyaml
39     werkzeug
40   ];
42   disabledTestPaths = [
43     # Exclude tests that require network access
44     "test/integ/test_sendgrid.py"
45     "live_test.py"
46   ];
48   pythonImportsCheck = [ "sendgrid" ];
50   meta = with lib; {
51     description = "Python client for SendGrid";
52     homepage = "https://github.com/sendgrid/sendgrid-python";
53     changelog = "https://github.com/sendgrid/sendgrid-python/blob/${version}/CHANGELOG.md";
54     license = with licenses; [ mit ];
55     maintainers = with maintainers; [ fab ];
56   };