3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/stripe/default.nix
R. RyanTM 6b5e41a3c5 python37Packages.stripe: 2.30.0 -> 2.35.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-stripe/versions
2019-09-28 17:10:51 -07:00

26 lines
657 B
Nix

{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytestcov, pytest-mock, pytest_xdist }:
buildPythonPackage rec {
pname = "stripe";
version = "2.35.1";
# Tests require network connectivity and there's no easy way to disable
# them. ~ C.
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "0rmzba8yig426anf8fxiacyvwchlsws746757sgvw748n8lrarbw";
};
propagatedBuildInputs = [ requests ];
checkInputs = [ pytest pytestcov pytest-mock pytest_xdist ];
meta = with lib; {
description = "Stripe Python bindings";
homepage = https://github.com/stripe/stripe-python;
license = licenses.mit;
};
}