From 5e415b911b22e038c6277346d1ead5739af72f80 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 Oct 2021 12:26:34 +0200 Subject: [PATCH] python3Packages.plaid-python: 8.1.0 -> 8.3.0 --- .../python-modules/plaid-python/default.nix | 32 +++++++++++++------ 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/plaid-python/default.nix b/pkgs/development/python-modules/plaid-python/default.nix index b864dedecfe7..f60b2a289246 100644 --- a/pkgs/development/python-modules/plaid-python/default.nix +++ b/pkgs/development/python-modules/plaid-python/default.nix @@ -1,26 +1,38 @@ -{ lib, buildPythonPackage, fetchPypi, requests, pytest }: +{ lib +, buildPythonPackage +, fetchPypi +, nulltype +, python-dateutil +, urllib3 +}: buildPythonPackage rec { - version = "8.1.0"; pname = "plaid-python"; + version = "8.3.0"; src = fetchPypi { inherit pname version; - sha256 = "b1f7b5b58ba3c171bb795352119d54797c8c50877bc376d26cd756de2453e9fd"; + sha256 = "13gj4xb0lx2dgdkcdp7fvvql3vjr572qpa1m993z3p7n5c27j5xi"; }; - checkInputs = [ pytest ]; + propagatedBuildInputs = [ + nulltype + python-dateutil + urllib3 + ]; - # Integration tests require API keys and internet access - checkPhase = "py.test -rxs ./tests/unit"; + # Tests require a Client IP + doCheck = false; - propagatedBuildInputs = [ requests ]; + pythonImportsCheck = [ + "plaid" + ]; - meta = { + meta = with lib; { description = "Python client library for the Plaid API and Link"; homepage = "https://github.com/plaid/plaid-python"; changelog = "https://github.com/plaid/plaid-python/blob/master/CHANGELOG.md"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ bhipple ]; + license = licenses.mit; + maintainers = with maintainers; [ bhipple ]; }; }