Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, requests, pytest }: 2 3buildPythonPackage rec { 4 version = "2.4.1"; 5 pname = "plaid-python"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "2b7832f9fe0c6cd23dfdb805bcfc52e2ff06fca6604e5782b7518904c1dad6bb"; 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}