mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
45 lines
836 B
Nix
45 lines
836 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
nulltype,
|
|
python-dateutil,
|
|
urllib3,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "plaid-python";
|
|
version = "36.1.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
pname = "plaid_python";
|
|
inherit version;
|
|
hash = "sha256-3TQ6jGsf+2ebYnAxRTKs4JrijDf3ojyfS4iBAMAG8FU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
nulltype
|
|
python-dateutil
|
|
urllib3
|
|
];
|
|
|
|
# Tests require a Client IP
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "plaid" ];
|
|
|
|
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;
|
|
};
|
|
}
|