depot/third_party/nixpkgs/pkgs/development/python-modules/gocardless-pro/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
925 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
six,
pytestCheckHook,
responses,
nose,
}:
buildPythonPackage rec {
pname = "gocardless-pro";
version = "1.51.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "gocardless";
repo = "gocardless-pro-python";
rev = "refs/tags/v${version}";
hash = "sha256-4pyVcyEa8iex7ngTibxWYu4HeW+6V5OASkxqjHIOe2Y=";
};
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 ];
};
}