mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
27 lines
751 B
Nix
27 lines
751 B
Nix
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "7.2.0";
|
|
pname = "plaid-python";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "bd599b384f94d8883344925f0ef223e1ab50f218872434aa40ba8c645937699c";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|