2019-01-21 10:58:28 +00:00
|
|
|
{ lib,
|
|
|
|
fetchPypi,
|
|
|
|
requests,
|
|
|
|
buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "braintree";
|
2020-03-15 15:03:05 +00:00
|
|
|
version = "4.0.0";
|
2019-01-21 10:58:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-15 15:03:05 +00:00
|
|
|
sha256 = "1m8z0ig40xmgcnmf508nflyy1w4qmff4kqxarrpg7rvsfj4pjsmh";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|