depot/third_party/nixpkgs/pkgs/development/python-modules/gocardless-pro/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

44 lines
916 B
Nix

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