2024-03-17 07:33:00 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-03-15 20:30:43 +00:00
|
|
|
fetchPypi,
|
|
|
|
setuptools,
|
|
|
|
pyopenssl,
|
2024-03-17 07:33:00 +00:00
|
|
|
pythonOlder,
|
2024-03-15 20:30:43 +00:00
|
|
|
requests,
|
|
|
|
six,
|
|
|
|
}:
|
2024-03-08 20:33:29 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "paypalrestsdk";
|
2024-03-17 00:23:09 +00:00
|
|
|
version = "1.13.3";
|
2024-03-15 20:30:43 +00:00
|
|
|
pyproject = true;
|
2024-03-08 20:33:29 +00:00
|
|
|
|
2024-03-17 07:33:00 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2024-03-08 20:33:29 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-03-17 07:33:00 +00:00
|
|
|
hash = "sha256-2sI2SSqawSYKdgAUouVqs4sJ2BQylbXollRTWbYf7dY=";
|
2024-03-08 20:33:29 +00:00
|
|
|
};
|
|
|
|
|
2024-03-15 20:30:43 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
pyopenssl
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2024-03-17 07:33:00 +00:00
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
2024-03-15 20:30:43 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "paypalrestsdk" ];
|
2024-03-08 20:33:29 +00:00
|
|
|
|
2024-03-17 07:33:00 +00:00
|
|
|
meta = with lib; {
|
2024-03-08 20:33:29 +00:00
|
|
|
description = "Python APIs to create, process and manage payment";
|
2024-03-17 07:33:00 +00:00
|
|
|
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-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2024-03-08 20:33:29 +00:00
|
|
|
};
|
|
|
|
}
|