2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools,
|
|
|
|
pyopenssl,
|
|
|
|
pythonOlder,
|
|
|
|
requests,
|
|
|
|
six,
|
2024-04-21 15:54:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "paypalrestsdk";
|
|
|
|
version = "1.13.3";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-2sI2SSqawSYKdgAUouVqs4sJ2BQylbXollRTWbYf7dY=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
pyopenssl
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "paypalrestsdk" ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python APIs to create, process and manage payment";
|
|
|
|
homepage = "https://github.com/paypal/PayPal-Python-SDK";
|
|
|
|
changelog = "https://github.com/paypal/PayPal-Python-SDK/blob/master/CHANGELOG.md";
|
|
|
|
license = {
|
|
|
|
fullName = "PayPal SDK License";
|
|
|
|
url = "https://github.com/paypal/PayPal-Python-SDK/blob/master/LICENSE";
|
|
|
|
};
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
}
|