evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / gocardless-pro / default.nix
blob575a7a0bc2d22fd8dd4c118f9b05cfda01aa0ed5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   requests,
6   six,
7   setuptools,
8   pytestCheckHook,
9   responses,
12 buildPythonPackage rec {
13   pname = "gocardless-pro";
14   version = "2.0.0";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "gocardless";
19     repo = "gocardless-pro-python";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-RHvGrBIDtjnLax2x7FPu0S5vizUW7dQMaQsyGPXqEh4=";
22   };
24   build-system = [ setuptools ];
26   propagatedBuildInputs = [
27     requests
28     six
29   ];
31   pythonImportsCheck = [ "gocardless_pro" ];
33   nativeCheckInputs = [
34     pytestCheckHook
35     responses
36   ];
38   meta = with lib; {
39     description = "Client library for the GoCardless Pro API";
40     homepage = "https://github.com/gocardless/gocardless-pro-python";
41     changelog = "https://github.com/gocardless/gocardless-pro-python/blob/${src.rev}/CHANGELOG.md";
42     license = licenses.mit;
43     maintainers = with maintainers; [ blaggacao ];
44   };