mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / braintree / default.nix
blob854f1451c0b15cec7d2b267f2cbbd52cfc9c8efb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   requests,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "braintree";
12   version = "4.29.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "braintree";
17     repo = "braintree_python";
18     rev = version;
19     hash = "sha256-5MF8W2zUVvNiOnmszgJkMDmeYLZ6ppFHqmH6dmlCzQY=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [ requests ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "braintree" ];
30   pytestFlagsArray = [
31     "tests/"
32     "tests/fixtures"
33     "tests/unit"
34     "tests/integration/test_credentials_parser.py"
35   ];
37   meta = {
38     description = "Python library for integration with Braintree";
39     homepage = "https://github.com/braintree/braintree_python";
40     license = lib.licenses.mit;
41     maintainers = [ ];
42   };