nixpkgs-suyu/pkgs/development/python-modules/plaid-python/default.nix
Benjamin Hipple 6e146c3700 pythonPackages.plaid-python: init at 2.3.0 (#42530)
* pythonPackages.plaid-python: init at 2.3.0

* Run unit tests with py.test
2018-06-25 15:05:47 +02:00

24 lines
654 B
Nix

{ 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 ];
};
}