2019-01-21 10:58:28 +00:00
|
|
|
{ lib,
|
|
|
|
fetchPypi,
|
|
|
|
requests,
|
|
|
|
buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "braintree";
|
2019-04-07 22:04:57 +01:00
|
|
|
version = "3.52.0";
|
2019-01-21 10:58:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-07 22:04:57 +01:00
|
|
|
sha256 = "0p8qmmc3fmjz7i5yjyxx9sxkhfq38kr0mws4dh3k5kxl6an02mp4";
|
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";
|
|
|
|
homepage = https://github.com/braintree/braintree_python;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ivegotasthma ];
|
|
|
|
};
|
|
|
|
}
|