Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0dbdb2e21d9b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3e8696f7b162
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 3, 2019

  1. 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
    r-ryantm authored and marsam committed Jun 3, 2019
    Copy the full SHA
    25fb890 View commit details
  2. Merge pull request #62543 from r-ryantm/auto-update/python3.7-stripe

    python37Packages.stripe: 2.27.0 -> 2.29.0
    marsam authored Jun 3, 2019
    Copy the full SHA
    3e8696f View commit details
Showing with 9 additions and 6 deletions.
  1. +9 −6 pkgs/development/python-modules/stripe/default.nix
15 changes: 9 additions & 6 deletions pkgs/development/python-modules/stripe/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k
, unittest2, mock, requests, simplejson }:
{ lib, buildPythonPackage, fetchPypi, requests, toml, pytest, pytestcov, pytest-mock, pytest_xdist }:

buildPythonPackage rec {
pname = "stripe";
version = "2.27.0";
version = "2.29.3";

# Tests require network connectivity and there's no easy way to disable
# them. ~ C.
doCheck = false;

src = fetchPypi {
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; {
description = "Stripe Python bindings";