27 lines
751 B
Nix
27 lines
751 B
Nix
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "7.5.0";
|
|
pname = "plaid-python";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f4781a54d18c8a70bf0b9206004574c524e63e6a07e3fa480964a489e2d759e1";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|