1{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
2
3buildPythonPackage rec {
4 version = "6.0.0";
5 pname = "plaid-python";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0a0ay39k50hbxxaxz09m2azz5c08yqki2gincziv6g381yrlj68s";
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}