pythonPackages.plaid-python: init at 2.3.0 (#42530)

* pythonPackages.plaid-python: init at 2.3.0

* Run unit tests with py.test
This commit is contained in:
Benjamin Hipple 2018-06-25 09:05:47 -04:00 committed by xeji
parent 7e77094f39
commit 6e146c3700
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
buildPythonPackage rec {
version = "2.3.0";
pname = "plaid-python";
src = fetchPypi {
inherit pname version;
sha256 = "0kp0crzjginmga6qvwwppar5b2pbdvwryf6vdpxgx7kkwzv33w97";
};
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 ];
};
}

View file

@ -3868,6 +3868,8 @@ in {
phpserialize = callPackage ../development/python-modules/phpserialize { };
plaid-python = callPackage ../development/python-modules/plaid-python { };
plaster = callPackage ../development/python-modules/plaster {};
plaster-pastedeploy = callPackage ../development/python-modules/plaster-pastedeploy {};