depot/third_party/nixpkgs/pkgs/development/python-modules/plaid-python/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

26 lines
751 B
Nix

{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
buildPythonPackage rec {
version = "7.2.0";
pname = "plaid-python";
src = fetchPypi {
inherit pname version;
sha256 = "bd599b384f94d8883344925f0ef223e1ab50f218872434aa40ba8c645937699c";
};
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 ];
};
}