Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / gocardless-pro / default.nix
bloba1c5cff80ddab9e2216837e9cefbc76216cf5932
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , six
6 , pytestCheckHook
7 , responses
8 , nose
9 }:
11 buildPythonPackage rec {
12   pname = "gocardless-pro";
13   version = "1.51.0";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "gocardless";
18     repo = "gocardless-pro-python";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-4pyVcyEa8iex7ngTibxWYu4HeW+6V5OASkxqjHIOe2Y=";
21   };
23   propagatedBuildInputs = [
24     requests
25     six
26   ];
28   pythonImportsCheck = [ "gocardless_pro" ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     responses
33     nose
34   ];
36   meta = with lib; {
37     description = "A client library for the GoCardless Pro API";
38     homepage = "https://github.com/gocardless/gocardless-pro-python";
39     changelog = "https://github.com/gocardless/gocardless-pro-python/blob/${src.rev}/CHANGELOG.md";
40     license = licenses.mit;
41     maintainers = with maintainers; [ blaggacao ];
42   };