diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/plaid-python')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/plaid-python/default.nix | 24 |
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..8577441cf9d2 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/plaid-python/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, fetchPypi, requests, pytest }: + +buildPythonPackage rec { + version = "2.4.1"; + pname = "plaid-python"; + + src = fetchPypi { + inherit pname version; + sha256 = "2b7832f9fe0c6cd23dfdb805bcfc52e2ff06fca6604e5782b7518904c1dad6bb"; + }; + + 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 ]; + }; +} |