depot/third_party/nixpkgs/pkgs/development/python-modules/paypalrestsdk/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

47 lines
952 B
Nix

{
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 = [ ];
};
}