2018-06-25 14:05:47 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-07-21 22:09:21 +01:00
|
|
|
version = "2.3.3";
|
2018-06-25 14:05:47 +01:00
|
|
|
pname = "plaid-python";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-21 22:09:21 +01:00
|
|
|
sha256 = "0jblc0bvzcns1dmsax6n0cvdg8867hm7snvdxa2l7v305h6gssjw";
|
2018-06-25 14:05:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|