@@ -1,20 +1,32 @@
1−{ lib, buildPythonPackage, fetchPypi, requests }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, requests
5+, pythonOlder
6+}:
27
38buildPythonPackage rec {
49 pname = "stripe";
510 version = "2.66.0";
11+ format = "setuptools";
12+
13+ disabled = pythonOlder "3.7";
614
715 src = fetchPypi {
816 inherit pname version;
9− sha256 = "sha256-d8YDIjD3cUsaG0WQdPCMYNYMIpucO+rDcnGQY+PRQJw=";
17+ hash = "sha256-d8YDIjD3cUsaG0WQdPCMYNYMIpucO+rDcnGQY+PRQJw=";
1018 };
1119
12− propagatedBuildInputs = [ requests ];
20+ propagatedBuildInputs = [
21+ requests
22+ ];
1323
1424 # Tests require network connectivity and there's no easy way to disable them
1525 doCheck = false;
1626
17− pythonImportsCheck = [ "stripe" ];
27+ pythonImportsCheck = [
28+ "stripe"
29+ ];
1830
1931 meta = with lib; {
2032 description = "Stripe Python bindings";