1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/python-modules/plaid-python/default.nix
2018-07-21 23:09:21 +02:00

25 lines
654 B
Nix

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