2018-06-25 14:05:47 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-11-29 14:04:36 +00:00
|
|
|
version = "7.2.0";
|
2018-06-25 14:05:47 +01:00
|
|
|
pname = "plaid-python";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:36 +00:00
|
|
|
sha256 = "bd599b384f94d8883344925f0ef223e1ab50f218872434aa40ba8c645937699c";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|