uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
57
pkgs/development/python-modules/sendgrid/default.nix
Normal file
57
pkgs/development/python-modules/sendgrid/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, pytestCheckHook
|
||||
, python-http-client
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, starkbank-ecdsa
|
||||
, six
|
||||
, werkzeug
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sendgrid";
|
||||
version = "6.9.7";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "sendgrid-python";
|
||||
rev = version;
|
||||
sha256 = "sha256-Lx84jmgJz/J5MJtJyqDTVIbN6H63gD2rkJrdNeojd08=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-http-client
|
||||
starkbank-ecdsa
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
flask
|
||||
pytestCheckHook
|
||||
pyyaml
|
||||
werkzeug
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Exclude tests that require network access
|
||||
"test/integ/test_sendgrid.py"
|
||||
"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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue