Merge pull request #243891 from blaggacao/init-python-gocardless-pro
python3Packages.gocardless-pro: init at 1.45.0
This commit is contained in:
commit
f4d78cae37
44
pkgs/development/python-modules/gocardless-pro/default.nix
Normal file
44
pkgs/development/python-modules/gocardless-pro/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, six
|
||||
, pytestCheckHook
|
||||
, responses
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gocardless-pro";
|
||||
version = "1.45.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gocardless";
|
||||
repo = "gocardless-pro-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-mzIEHm8roiVtrh84Oc+J87anMpr4zMp5yLFCmuljg8k=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
@ -4255,6 +4255,8 @@ self: super: with self; {
|
||||
|
||||
goalzero = callPackage ../development/python-modules/goalzero { };
|
||||
|
||||
gocardless-pro = callPackage ../development/python-modules/gocardless-pro { };
|
||||
|
||||
goobook = callPackage ../development/python-modules/goobook { };
|
||||
|
||||
goocalendar = callPackage ../development/python-modules/goocalendar { };
|
||||
|
Loading…
Reference in New Issue
Block a user