nixpkgs/pkgs/development/python-modules/plaid-python/default.nix
Benjamin Hipple 175cf979b5 pythonPackages.plaid-python: 6.0.0 -> 7.1.0
There's been a new major version update of the server API, so the 6.X line no longer works.
2020-11-01 12:25:57 -05:00

27 lines
739 B
Nix

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