diff options
author | Benjamin Hipple <bhipple@protonmail.com> | 2018-06-25 09:05:47 -0400 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-06-25 15:05:47 +0200 |
commit | 6e146c370013a177eb4e446c20cfe6895cb4d4d5 (patch) | |
tree | 0ecef066d4862280719cfa808d5e9035cf60a28e /pkgs/development | |
parent | 7e77094f39d3ccf6f1c769be8e52893a449fbb9e (diff) | |
download | nixlib-6e146c370013a177eb4e446c20cfe6895cb4d4d5.tar nixlib-6e146c370013a177eb4e446c20cfe6895cb4d4d5.tar.gz nixlib-6e146c370013a177eb4e446c20cfe6895cb4d4d5.tar.bz2 nixlib-6e146c370013a177eb4e446c20cfe6895cb4d4d5.tar.lz nixlib-6e146c370013a177eb4e446c20cfe6895cb4d4d5.tar.xz nixlib-6e146c370013a177eb4e446c20cfe6895cb4d4d5.tar.zst nixlib-6e146c370013a177eb4e446c20cfe6895cb4d4d5.zip |
pythonPackages.plaid-python: init at 2.3.0 (#42530)
* pythonPackages.plaid-python: init at 2.3.0 * Run unit tests with py.test
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/plaid-python/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/plaid-python/default.nix b/pkgs/development/python-modules/plaid-python/default.nix new file mode 100644 index 000000000000..3676c676cc60 --- /dev/null +++ b/pkgs/development/python-modules/plaid-python/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, fetchPypi, requests, pytest }: + +buildPythonPackage rec { + version = "2.3.0"; + pname = "plaid-python"; + + src = fetchPypi { + inherit pname version; + sha256 = "0kp0crzjginmga6qvwwppar5b2pbdvwryf6vdpxgx7kkwzv33w97"; + }; + + 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 ]; + }; +} |