Merge pull request #142198 from fabaff/bump-plaid-python

This commit is contained in:
Sandro 2021-10-19 14:24:45 +02:00 committed by GitHub
commit 51d0119ebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 10 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "nulltype";
version = "2.3.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0wpjbsmm0c9ifg9y6cnfz49qq9pa5f99nnqp6wdlv42ymfr3rak4";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"nulltype"
];
meta = with lib; {
description = "Python library to handle Null values and sentinels like (but not) None, False and True";
homepage = "https://pypi.org/project/nulltype/";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1,26 +1,38 @@
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
{ lib
, buildPythonPackage
, fetchPypi
, nulltype
, python-dateutil
, urllib3
}:
buildPythonPackage rec {
version = "8.1.0";
pname = "plaid-python";
version = "8.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "b1f7b5b58ba3c171bb795352119d54797c8c50877bc376d26cd756de2453e9fd";
sha256 = "13gj4xb0lx2dgdkcdp7fvvql3vjr572qpa1m993z3p7n5c27j5xi";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [
nulltype
python-dateutil
urllib3
];
# Integration tests require API keys and internet access
checkPhase = "py.test -rxs ./tests/unit";
# Tests require a Client IP
doCheck = false;
propagatedBuildInputs = [ requests ];
pythonImportsCheck = [
"plaid"
];
meta = {
meta = with lib; {
description = "Python client library for the Plaid API and Link";
homepage = "https://github.com/plaid/plaid-python";
changelog = "https://github.com/plaid/plaid-python/blob/master/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bhipple ];
license = licenses.mit;
maintainers = with maintainers; [ bhipple ];
};
}

View file

@ -5107,6 +5107,8 @@ in {
Nuitka = callPackage ../development/python-modules/nuitka { };
nulltype = callPackage ../development/python-modules/nulltype { };
num2words = callPackage ../development/python-modules/num2words { };
numba = callPackage ../development/python-modules/numba { };