2018-06-25 14:05:47 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-06 07:47:22 +01:00
|
|
|
version = "4.0.0";
|
2018-06-25 14:05:47 +01:00
|
|
|
pname = "plaid-python";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:22 +01:00
|
|
|
sha256 = "2bf91e4c1054c920ec8911038f86efdc76067bf6b55a9787bd846129ce01ff4a";
|
2018-06-25 14:05:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
# 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";
|
2018-06-25 14:05:47 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ bhipple ];
|
|
|
|
};
|
|
|
|
}
|