7 django-phonenumber-field,
19 buildPythonPackage rec {
20 pname = "django-payments";
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
28 repo = "django-payments";
29 rev = "refs/tags/v${version}";
30 hash = "sha256-/XsqtExnNtUGqI40XvvcO/nGq56gbC/mPdtHv1QQyGo=";
40 django-phonenumber-field
42 ] ++ django-phonenumber-field.optional-dependencies.phonenumberslite;
44 # require internet connection
47 pythonImportsCheck = [ "payments" ];
49 optional-dependencies = {
50 braintree = [ braintree ];
51 cybersource = [ suds-community ];
52 mercadopago = [ mercadopago ];
53 sagepay = [ cryptography ];
54 sofort = [ xmltodict ];
59 description = "Universal payment handling for Django";
60 homepage = "https://github.com/jazzband/django-payments/";
61 changelog = "https://github.com/jazzband/django-payments/blob/${src.rev}/CHANGELOG.rst";
62 license = licenses.bsd3;
63 maintainers = with maintainers; [ derdennisop ];