python311Packages.paypalrestsdk: refactor
This commit is contained in:
parent
ab2b42656e
commit
35f6a4a2e7
|
@ -1,11 +1,9 @@
|
|||
{ buildPythonPackage
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, pyopenssl
|
||||
, pythonOlder
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
@ -15,9 +13,11 @@ buildPythonPackage rec {
|
|||
version = "1.13.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-2sI2SSqawSYKdgAUouVqs4sJ2BQylbXollRTWbYf7dY=";
|
||||
hash = "sha256-2sI2SSqawSYKdgAUouVqs4sJ2BQylbXollRTWbYf7dY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -30,15 +30,21 @@ buildPythonPackage rec {
|
|||
six
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"paypalrestsdk"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://developer.paypal.com/";
|
||||
meta = with lib; {
|
||||
description = "Python APIs to create, process and manage payment";
|
||||
license = "PayPal SDK License";
|
||||
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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue