1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4 5# propagates 6, pyopenssl 7, requests 8, six 9 10# tests 11, pytestCheckHook 12, responses 13}: 14 15buildPythonPackage rec { 16 pname = "paypalhttp"; 17 version = "1.0.0"; 18 format = "setuptools"; 19 20 src = fetchFromGitHub { 21 owner = "paypal"; 22 repo = "paypalhttp_python"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-3ihcpYtpcejPkiyf4g4jveyNU6flQB2sv9EZ5Pd7tUc="; 25 }; 26 27 propagatedBuildInputs = [ 28 requests 29 six 30 pyopenssl 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 responses 36 ]; 37 38 meta = with lib; { 39 changelog = "https://github.com/paypal/paypalhttp_python/releases/tag/${version}"; 40 description = "PayPalHttp is a generic HTTP Client"; 41 homepage = "https://github.com/paypal/paypalhttp_python"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ hexa ]; 44 }; 45}