2021-10-17 09:34:42 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nulltype
|
|
|
|
, python-dateutil
|
|
|
|
, urllib3
|
2022-03-05 16:20:37 +00:00
|
|
|
, pythonOlder
|
2021-10-17 09:34:42 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "plaid-python";
|
2023-03-30 22:05:00 +00:00
|
|
|
version = "12.0.0";
|
2022-03-05 16:20:37 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-30 22:05:00 +00:00
|
|
|
hash = "sha256-m/U7O859pWOB+qF4PVcXg3pI7M2Zpl2uWPjaubeV2dE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-17 09:34:42 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
nulltype
|
|
|
|
python-dateutil
|
|
|
|
urllib3
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-10-17 09:34:42 +00:00
|
|
|
# Tests require a Client IP
|
|
|
|
doCheck = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-17 09:34:42 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"plaid"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-17 09:34:42 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Python client library for the Plaid API and Link";
|
|
|
|
homepage = "https://github.com/plaid/plaid-python";
|
2020-08-20 17:08:02 +00:00
|
|
|
changelog = "https://github.com/plaid/plaid-python/blob/master/CHANGELOG.md";
|
2021-10-17 09:34:42 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bhipple ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|