1{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
2
3buildPythonPackage rec {
4 version = "7.2.1";
5 pname = "plaid-python";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "af2ad326e8377c8c86d97184f60c0be41cd71f5075201dfdb3331cc85d4de513";
10 };
11
12 checkInputs = [ pytest ];
13
14 # Integration tests require API keys and internet access
15 checkPhase = "py.test -rxs ./tests/unit";
16
17 propagatedBuildInputs = [ requests ];
18
19 meta = {
20 description = "Python client library for the Plaid API and Link";
21 homepage = "https://github.com/plaid/plaid-python";
22 changelog = "https://github.com/plaid/plaid-python/blob/master/CHANGELOG.md";
23 license = lib.licenses.mit;
24 maintainers = with lib.maintainers; [ bhipple ];
25 };
26}