nixpkgs-suyu/pkgs/development/python-modules/plaid-python/default.nix

25 lines
666 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
buildPythonPackage rec {
2018-11-04 11:35:10 +01:00
version = "2.3.4";
pname = "plaid-python";
src = fetchPypi {
inherit pname version;
2018-11-04 11:35:10 +01:00
sha256 = "fefa30cbd1114844a07b6a37d95fd6657774ce8a551a2ac79641887cd63c72db";
};
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 ];
};
}