2021-08-27 14:25:00 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "stripe";
|
2022-01-23 02:10:13 +00:00
|
|
|
version = "2.65.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-23 02:10:13 +00:00
|
|
|
sha256 = "2e55d4d7262085de9cef2228f14581925c35350ba58a332352b1ec9e19a7b7a6";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
# Tests require network connectivity and there's no easy way to disable them
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "stripe" ];
|
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;
|
2021-08-27 14:25:00 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|