2020-04-24 23:36:52 +00:00
|
|
|
{ lib,
|
|
|
|
fetchPypi,
|
|
|
|
requests,
|
|
|
|
buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "braintree";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "4.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "0aw5n1hqrg5pb5xmcr1b8y9i7v8zj23q9k2p4b6bwnq2c2fqi8wr";
|
2020-04-24 23:36:52 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|