depot/third_party/nixpkgs/pkgs/development/python-modules/stripe/default.nix
Default email 77976348d2 Project import generated by Copybara.
GitOrigin-RevId: 9aeeb7574fb784eaf6395f4400705b5f619e6cc3
2021-10-17 05:12:59 +03:00

25 lines
630 B
Nix

{ lib, buildPythonPackage, fetchPypi, requests }:
buildPythonPackage rec {
pname = "stripe";
version = "2.61.0";
src = fetchPypi {
inherit pname version;
sha256 = "8131addd3512a22c4c539dda2d869a8f488e06f1b02d1f3a5f0f4848fc56184e";
};
propagatedBuildInputs = [ requests ];
# Tests require network connectivity and there's no easy way to disable them
doCheck = false;
pythonImportsCheck = [ "stripe" ];
meta = with lib; {
description = "Stripe Python bindings";
homepage = "https://github.com/stripe/stripe-python";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}