Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, requests, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "braintree"; version = "4.48.0"; pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub { owner = "braintree"; repo = "braintree_python"; tag = finalAttrs.version; hash = "sha256-lr8+xaGnEAZnuLwFQLK6mIZTy84HSGldd9b8hLE64hM="; };
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "braintree" ];
# Most integration tests require a running Braintree gateway. enabledTestPaths = [ "tests/unit" "tests/integration/test_credentials_parser.py" ];
meta = { description = "Python library for integration with Braintree"; homepage = "https://github.com/braintree/braintree_python"; license = lib.licenses.mit; maintainers = [ ]; };})