Revert "python311Packages.paypalrestsdk: drop"

This reverts commit 878adc2e52.
This commit is contained in:
Martin Weinelt 2024-03-08 21:33:29 +01:00
parent 5203b55f59
commit cea012f9b2
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,20 @@
{ buildPythonPackage, fetchPypi
, requests, six, pyopenssl }:
buildPythonPackage rec {
pname = "paypalrestsdk";
version = "1.13.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kZUfNtsw1oW5ceFASYSRo1bPHfjv9xZWYDrKTtcs81o=";
};
propagatedBuildInputs = [ requests six pyopenssl ];
meta = {
homepage = "https://developer.paypal.com/";
description = "Python APIs to create, process and manage payment";
license = "PayPal SDK License";
};
}

View File

@ -302,7 +302,6 @@ mapAliases ({
pam = python-pam; # added 2020-09-07.
PasteDeploy = pastedeploy; # added 2021-10-07
pathpy = path; # added 2022-04-12
paypalrestsdk = throw "paypalrestsdk was removed, the upstream repo was archived back in 2020"; # Added 2023-11-25
pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29
pdfminer = pdfminer-six; # added 2022-05-25
pep257 = pydocstyle; # added 2022-04-12

View File

@ -9290,6 +9290,8 @@ self: super: with self; {
paypalhttp = callPackage ../development/python-modules/paypalhttp { };
paypalrestsdk = callPackage ../development/python-modules/paypalrestsdk { };
pbkdf2 = callPackage ../development/python-modules/pbkdf2 { };
pbr = callPackage ../development/python-modules/pbr { };