about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/plaid-python
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/plaid-python')
-rw-r--r--nixpkgs/pkgs/development/python-modules/plaid-python/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/plaid-python/default.nix b/nixpkgs/pkgs/development/python-modules/plaid-python/default.nix
new file mode 100644
index 000000000000..a41265165c7d
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/plaid-python/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
+
+buildPythonPackage rec {
+  version = "3.4.0";
+  pname = "plaid-python";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "bbfad84b8c827a14bc5b0ab93e1e5c7117908e5fa4cdecaa44a037298a20b7de";
+  };
+
+  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";
+    homepage = "https://github.com/plaid/plaid-python";
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ bhipple ];
+  };
+}