python37Packages.stripe: 2.27.0 -> 2.29.3

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
This commit is contained in:
R. RyanTM 2019-06-02 16:10:49 -07:00 committed by Mario Rodas
parent 37e4161535
commit 25fb89009f
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8
1 changed files with 9 additions and 6 deletions

View File

@ -1,9 +1,8 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k { lib, buildPythonPackage, fetchPypi, requests, toml, pytest, pytestcov, pytest-mock, pytest_xdist }:
, unittest2, mock, requests, simplejson }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "stripe"; pname = "stripe";
version = "2.27.0"; version = "2.29.3";
# Tests require network connectivity and there's no easy way to disable # Tests require network connectivity and there's no easy way to disable
# them. ~ C. # them. ~ C.
@ -11,12 +10,16 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0pvypngbmiji92nfs28bmiyl7brsm6cj18d9vhnwyydnzn3nlkl1"; sha256 = "73f9af72ef8125e0d1c713177d006f1cbe95602beb3e10cb0b0a4ae358d1ae86";
}; };
checkInputs = [ unittest2 mock ]; postPatch = ''
substituteInPlace setup.py --replace "toml>=0.9,<0.10" "toml>=0.9"
'';
propagatedBuildInputs = [ requests ] ++ lib.optional (!isPy3k) simplejson; propagatedBuildInputs = [ toml requests ];
checkInputs = [ pytest pytestcov pytest-mock pytest_xdist ];
meta = with lib; { meta = with lib; {
description = "Stripe Python bindings"; description = "Stripe Python bindings";