1{ lib, buildPythonPackage, fetchPypi, requests, pytest }: 2 3buildPythonPackage rec { 4 version = "2.3.3"; 5 pname = "plaid-python"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0jblc0bvzcns1dmsax6n0cvdg8867hm7snvdxa2l7v305h6gssjw"; 10 }; 11 12 checkInputs = [ pytest ]; 13 # Integration tests require API keys and internet access 14 checkPhase = "py.test -rxs ./tests/unit"; 15 16 propagatedBuildInputs = [ requests ]; 17 18 meta = { 19 description = "Python client library for the Plaid API and Link"; 20 homepage = https://github.com/plaid/plaid-python; 21 license = lib.licenses.mit; 22 maintainers = with lib.maintainers; [ bhipple ]; 23 }; 24}