2021-07-24 12:14:16 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytest-cov, pytest-mock, pytest-xdist }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "stripe";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2.58.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Tests require network connectivity and there's no easy way to disable
|
|
|
|
# them. ~ C.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "34829b528e652ffc919d40eff2ba78021149818bab76e33c07801382921cf6d5";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
checkInputs = [ pytest pytest-cov pytest-mock pytest-xdist ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Stripe Python bindings";
|
|
|
|
homepage = "https://github.com/stripe/stripe-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|