{ lib , buildPythonPackage , fetchFromGitHub , requests , six , pytestCheckHook , responses , nose }: buildPythonPackage rec { pname = "gocardless-pro"; version = "1.49.0"; format = "setuptools"; src = fetchFromGitHub { owner = "gocardless"; repo = "gocardless-pro-python"; rev = "refs/tags/${version}"; hash = "sha256-jhZfbJLf/gMXfErVbO2erBxgULmKyp1C0+t0k1d0o54="; }; propagatedBuildInputs = [ requests six ]; pythonImportsCheck = [ "gocardless_pro" ]; nativeCheckInputs = [ pytestCheckHook responses nose ]; meta = with lib; { description = "A client library for the GoCardless Pro API"; homepage = "https://github.com/gocardless/gocardless-pro-python"; changelog = "https://github.com/gocardless/gocardless-pro-python/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ blaggacao ]; }; }