2019-06-17 19:07:35 -07:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytestcov, pytest-mock, pytest_xdist }:
|
2017-07-15 00:00:15 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "stripe";
|
2020-07-26 13:40:48 -07:00
|
|
|
version = "2.49.0";
|
2017-07-15 00:00:15 -07:00
|
|
|
|
|
|
|
# Tests require network connectivity and there's no easy way to disable
|
|
|
|
# them. ~ C.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-26 13:40:48 -07:00
|
|
|
sha256 = "10dgll0x709n91p8m9qmifsdhx2sc2920xxhqzd335l4z20iwcw9";
|
2017-07-15 00:00:15 -07:00
|
|
|
};
|
|
|
|
|
2019-06-17 19:07:35 -07:00
|
|
|
propagatedBuildInputs = [ requests ];
|
2019-06-02 16:10:49 -07:00
|
|
|
|
|
|
|
checkInputs = [ pytest pytestcov pytest-mock pytest_xdist ];
|
2017-07-15 00:00:15 -07:00
|
|
|
|
2018-02-26 15:41:49 -08:00
|
|
|
meta = with lib; {
|
2017-07-15 00:00:15 -07:00
|
|
|
description = "Stripe Python bindings";
|
2020-03-09 09:11:26 -07:00
|
|
|
homepage = "https://github.com/stripe/stripe-python";
|
2017-07-15 00:00:15 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|