Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / gocardless-pro / default.nix
blob4e5e919323ad80213459ab1648765e94b7ad8205
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.48.0";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "gocardless";
18     repo = "gocardless-pro-python";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-9229lwCtVu4Pfru6e9JdbP3KUUYojBLuNQ+volP6OX0=";
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   };