2019-01-21 11:58:28 +01:00
|
|
|
{ lib,
|
|
|
|
fetchPypi,
|
|
|
|
requests,
|
|
|
|
buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "braintree";
|
2019-10-08 06:09:11 +02:00
|
|
|
version = "3.57.1";
|
2019-01-21 11:58:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-08 06:09:11 +02:00
|
|
|
sha256 = "1g5w733dim3rc6hwklvknnxqkradjwip728i77pbsw5ihgdxahhi";
|
2019-01-21 11:58:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# pypi release does not include tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for integration with Braintree";
|
|
|
|
homepage = https://github.com/braintree/braintree_python;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ivegotasthma ];
|
|
|
|
};
|
|
|
|
}
|