3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/stripe/default.nix
2021-10-16 09:15:25 -07:00

26 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; [ ];
};
}