27 lines
585 B
Nix
27 lines
585 B
Nix
{ lib,
|
|
fetchPypi,
|
|
requests,
|
|
buildPythonPackage
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "braintree";
|
|
version = "4.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1fqh1bdkk3g222vbrmw3ab4r4mmd1k4x2jayshnqpbspszcqzcdq";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|