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