2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "7.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "plaid-python";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "ab70467116adc110b56eb5a1fdeed726307cc216e04dda46a782aa1a1468ce0e";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# Integration tests require API keys and internet access
|
|
|
|
checkPhase = "py.test -rxs ./tests/unit";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
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";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ bhipple ];
|
|
|
|
};
|
|
|
|
}
|