depot/third_party/nixpkgs/pkgs/development/python-modules/gocardless-pro/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

45 lines
949 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
six,
setuptools,
pytestCheckHook,
responses,
}:
buildPythonPackage rec {
pname = "gocardless-pro";
version = "1.53.0";
pyproject = true;
src = fetchFromGitHub {
owner = "gocardless";
repo = "gocardless-pro-python";
rev = "refs/tags/v${version}";
hash = "sha256-Z58akjaYuvKVQWFfiP5TZlM/+4CB/vmLzd4eWmnWV90=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
requests
six
];
pythonImportsCheck = [ "gocardless_pro" ];
nativeCheckInputs = [
pytestCheckHook
responses
];
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 ];
};
}