python310Packages.paypalhttp: init at 1.0.0

This commit is contained in:
Martin Weinelt 2023-05-07 23:21:52 +02:00
parent 38e83e4404
commit 07de4d2914
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# propagates
, pyopenssl
, requests
, six
# tests
, pytestCheckHook
, responses
}:
buildPythonPackage rec {
pname = "paypalhttp";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "paypal";
repo = "paypalhttp_python";
rev = "refs/tags/${version}";
hash = "sha256-3ihcpYtpcejPkiyf4g4jveyNU6flQB2sv9EZ5Pd7tUc=";
};
propagatedBuildInputs = [
requests
six
pyopenssl
];
nativeCheckInputs = [
pytestCheckHook
responses
];
meta = with lib; {
changelog = "https://github.com/paypal/paypalhttp_python/releases/tag/${version}";
description = "PayPalHttp is a generic HTTP Client";
homepage = "https://github.com/paypal/paypalhttp_python";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

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