python3Packages.sendgrid: init at 6.5.0
This commit is contained in:
parent
8e8e759c72
commit
dc2f2bebce
49
pkgs/development/python-modules/sendgrid/default.nix
Normal file
49
pkgs/development/python-modules/sendgrid/default.nix
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flask
|
||||||
|
, pytestCheckHook
|
||||||
|
, python-http-client
|
||||||
|
, pyyaml
|
||||||
|
, starkbank-ecdsa
|
||||||
|
, werkzeug
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sendgrid";
|
||||||
|
version = "6.5.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = pname;
|
||||||
|
repo = "sendgrid-python";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "14kqjdv49486ksc1s0m0hc4k5nf9vn1v1g489mpib01hiiqxjp1b";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
python-http-client
|
||||||
|
starkbank-ecdsa
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
flask
|
||||||
|
pytestCheckHook
|
||||||
|
pyyaml
|
||||||
|
werkzeug
|
||||||
|
];
|
||||||
|
|
||||||
|
# Exclude tests that require network access
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"--ignore test/test_sendgrid.py"
|
||||||
|
"--ignore live_test.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "sendgrid" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python client for SendGrid";
|
||||||
|
homepage = "https://github.com/sendgrid/sendgrid-python";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -6981,6 +6981,8 @@ in {
|
|||||||
|
|
||||||
send2trash = callPackage ../development/python-modules/send2trash { };
|
send2trash = callPackage ../development/python-modules/send2trash { };
|
||||||
|
|
||||||
|
sendgrid = callPackage ../development/python-modules/sendgrid { };
|
||||||
|
|
||||||
sentencepiece = callPackage ../development/python-modules/sentencepiece { inherit (pkgs) sentencepiece pkg-config; };
|
sentencepiece = callPackage ../development/python-modules/sentencepiece { inherit (pkgs) sentencepiece pkg-config; };
|
||||||
|
|
||||||
sentinel = callPackage ../development/python-modules/sentinel { };
|
sentinel = callPackage ../development/python-modules/sentinel { };
|
||||||
|
Loading…
Reference in New Issue
Block a user