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