3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/stripe/default.nix
2020-01-22 16:41:02 -08:00

26 lines
657 B
Nix

{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytestcov, pytest-mock, pytest_xdist }:
buildPythonPackage rec {
pname = "stripe";
version = "2.42.0";
# Tests require network connectivity and there's no easy way to disable
# them. ~ C.
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "1vrs0mydj2j789slzfv5413qxa067zi7p34h2p63612gm3vdrcl9";
};
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;
};
}