depot/third_party/nixpkgs/pkgs/development/python-modules/gocardless-pro/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
923 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
six,
pytestCheckHook,
responses,
nose,
}:
buildPythonPackage rec {
pname = "gocardless-pro";
version = "1.52.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "gocardless";
repo = "gocardless-pro-python";
rev = "refs/tags/v${version}";
hash = "sha256-Oi68s4x/rS8ahvJ9TsniYfDidCxtvcvsMwYhJirYlP0=";
};
propagatedBuildInputs = [
requests
six
];
pythonImportsCheck = [ "gocardless_pro" ];
nativeCheckInputs = [
pytestCheckHook
responses
nose
];
meta = with lib; {
description = "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 ];
};
}