42 lines
831 B
Nix
42 lines
831 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nulltype
|
|
, python-dateutil
|
|
, urllib3
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "plaid-python";
|
|
version = "9.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3yFfANMkn8CXCheNHU77WGeYxPV4gs2jvOl/rV+/6vY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
nulltype
|
|
python-dateutil
|
|
urllib3
|
|
];
|
|
|
|
# Tests require a Client IP
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"plaid"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 = licenses.mit;
|
|
maintainers = with maintainers; [ bhipple ];
|
|
};
|
|
}
|