`buildDotnetModule`: add support for installing pre-release tools (#374663)
[NixPkgs.git] / pkgs / development / python-modules / stripe / default.nix
blob546a573afaec4ce8611f2541a8a4394a36141a2a
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   requests,
7   setuptools,
8   typing-extensions,
9 }:
11 buildPythonPackage rec {
12   pname = "stripe";
13   version = "11.4.1";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-fd0lG2ItSQ/lfXhIeFXcn02VsbsRNgfoH9N3A3oTPVo=";
21   };
23   build-system = [ setuptools ];
25   dependencies = [
26     requests
27     typing-extensions
28   ];
30   # Tests require network connectivity and there's no easy way to disable them
31   doCheck = false;
33   pythonImportsCheck = [ "stripe" ];
35   meta = with lib; {
36     description = "Stripe Python bindings";
37     homepage = "https://github.com/stripe/stripe-python";
38     changelog = "https://github.com/stripe/stripe-python/blob/v${version}/CHANGELOG.md";
39     license = licenses.mit;
40     maintainers = [ ];
41   };