2019-01-21 10:58:28 +00:00
|
|
|
{ lib,
|
|
|
|
fetchPypi,
|
|
|
|
requests,
|
|
|
|
buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "braintree";
|
2020-11-20 00:15:50 +00:00
|
|
|
version = "4.5.0";
|
2019-01-21 10:58:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-20 00:15:50 +00:00
|
|
|
sha256 = "98b9775e3d5f793c0a47df6b3649cd175705ee2d9163f7853e8c73acec7b923f";
|
2019-01-21 10:58:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# pypi release does not include tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for integration with Braintree";
|
2020-03-15 15:03:05 +00:00
|
|
|
homepage = "https://github.com/braintree/braintree_python";
|
2019-01-21 10:58:28 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ivegotasthma ];
|
|
|
|
};
|
|
|
|
}
|