{ lib, buildPythonPackage, fetchPypi, requests, pytest }: buildPythonPackage rec { version = "8.0.0"; pname = "plaid-python"; src = fetchPypi { inherit pname version; sha256 = "ce11a832e04889972809b257e0351e4cc70fd3b5d31de2b97cc9df732a3dcc9b"; }; 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"; changelog = "https://github.com/plaid/plaid-python/blob/master/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bhipple ]; }; }