1{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytestcov, pytest-mock, pytest_xdist }:
2
3buildPythonPackage rec {
4 pname = "stripe";
5 version = "2.30.0";
6
7 # Tests require network connectivity and there's no easy way to disable
8 # them. ~ C.
9 doCheck = false;
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "de6be07c9e8a350d588278186316f66c72af7036aa5e917d1a924fb875249034";
14 };
15
16 propagatedBuildInputs = [ requests ];
17
18 checkInputs = [ pytest pytestcov pytest-mock pytest_xdist ];
19
20 meta = with lib; {
21 description = "Stripe Python bindings";
22 homepage = https://github.com/stripe/stripe-python;
23 license = licenses.mit;
24 };
25}