2018-06-25 14:05:47 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-24 09:28:20 +00:00
|
|
|
version = "7.2.1";
|
2018-06-25 14:05:47 +01:00
|
|
|
pname = "plaid-python";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:20 +00:00
|
|
|
sha256 = "af2ad326e8377c8c86d97184f60c0be41cd71f5075201dfdb3331cc85d4de513";
|
2018-06-25 14:05:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
2020-08-07 03:17:17 +01:00
|
|
|
|
2018-06-25 14:05:47 +01: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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/plaid/plaid-python";
|
2020-08-07 03:17:17 +01:00
|
|
|
changelog = "https://github.com/plaid/plaid-python/blob/master/CHANGELOG.md";
|
2018-06-25 14:05:47 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ bhipple ];
|
|
|
|
};
|
|
|
|
}
|