diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/paypalrestsdk/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/paypalrestsdk/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/paypalrestsdk/default.nix b/nixpkgs/pkgs/development/python-modules/paypalrestsdk/default.nix new file mode 100644 index 000000000000..ed6e60a19044 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/paypalrestsdk/default.nix @@ -0,0 +1,50 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +, pyopenssl +, pythonOlder +, requests +, six +}: + +buildPythonPackage rec { + pname = "paypalrestsdk"; + version = "1.13.3"; + pyproject = true; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-2sI2SSqawSYKdgAUouVqs4sJ2BQylbXollRTWbYf7dY="; + }; + + build-system = [ + setuptools + ]; + + dependencies = [ + pyopenssl + requests + six + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "paypalrestsdk" + ]; + + 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"; + }; + maintainers = with maintainers; [ ]; + }; +} |