1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pyopenssl,
7 pythonOlder,
8 requests,
9 six,
10}:
11
12buildPythonPackage rec {
13 pname = "paypalrestsdk";
14 version = "1.13.3";
15 pyproject = true;
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-2sI2SSqawSYKdgAUouVqs4sJ2BQylbXollRTWbYf7dY=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 pyopenssl
28 requests
29 six
30 ];
31
32 # Module has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "paypalrestsdk" ];
36
37 meta = with lib; {
38 description = "Python APIs to create, process and manage payment";
39 homepage = "https://github.com/paypal/PayPal-Python-SDK";
40 changelog = "https://github.com/paypal/PayPal-Python-SDK/blob/master/CHANGELOG.md";
41 license = {
42 fullName = "PayPal SDK License";
43 url = "https://github.com/paypal/PayPal-Python-SDK/blob/master/LICENSE";
44 };
45 maintainers = [ ];
46 };
47}