1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6 six, 7 setuptools, 8 pytestCheckHook, 9 responses, 10}: 11 12buildPythonPackage rec { 13 pname = "gocardless-pro"; 14 version = "3.2.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "gocardless"; 19 repo = "gocardless-pro-python"; 20 tag = "v${version}"; 21 hash = "sha256-nSgOHc4Y8wes2lYWWdhxkGXiXUaRnpaj1/gnmeA7dXA="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 propagatedBuildInputs = [ 27 requests 28 six 29 ]; 30 31 pythonImportsCheck = [ "gocardless_pro" ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 responses 36 ]; 37 38 meta = with lib; { 39 description = "Client library for the GoCardless Pro API"; 40 homepage = "https://github.com/gocardless/gocardless-pro-python"; 41 changelog = "https://github.com/gocardless/gocardless-pro-python/blob/${src.tag}/CHANGELOG.md"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ ]; 44 }; 45}