841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
26 lines
751 B
Nix
26 lines
751 B
Nix
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "7.4.0";
|
|
pname = "plaid-python";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ab70467116adc110b56eb5a1fdeed726307cc216e04dda46a782aa1a1468ce0e";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|