2021-10-19 10:26:34 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nulltype
|
|
|
|
, python-dateutil
|
|
|
|
, urllib3
|
2022-03-01 07:38:19 +00:00
|
|
|
, pythonOlder
|
2021-10-19 10:26:34 +00:00
|
|
|
}:
|
2018-06-25 13:05:47 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "plaid-python";
|
2022-03-15 05:28:51 +00:00
|
|
|
version = "9.1.1";
|
2022-03-01 07:38:19 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-06-25 13:05:47 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-15 05:28:51 +00:00
|
|
|
hash = "sha256-vHJ35MvMw3G1k/A2gifaE97GayoVEOQ9lR6yG6ZkzS4=";
|
2018-06-25 13:05:47 +00:00
|
|
|
};
|
|
|
|
|
2021-10-19 10:26:34 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
nulltype
|
|
|
|
python-dateutil
|
|
|
|
urllib3
|
|
|
|
];
|
2020-08-07 02:17:17 +00:00
|
|
|
|
2021-10-19 10:26:34 +00:00
|
|
|
# Tests require a Client IP
|
|
|
|
doCheck = false;
|
2018-06-25 13:05:47 +00:00
|
|
|
|
2021-10-19 10:26:34 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"plaid"
|
|
|
|
];
|
2018-06-25 13:05:47 +00:00
|
|
|
|
2021-10-19 10:26:34 +00:00
|
|
|
meta = with lib; {
|
2018-06-25 13:05:47 +00:00
|
|
|
description = "Python client library for the Plaid API and Link";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/plaid/plaid-python";
|
2020-08-07 02:17:17 +00:00
|
|
|
changelog = "https://github.com/plaid/plaid-python/blob/master/CHANGELOG.md";
|
2021-10-19 10:26:34 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bhipple ];
|
2018-06-25 13:05:47 +00:00
|
|
|
};
|
|
|
|
}
|