mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
26 lines
669 B
Nix
26 lines
669 B
Nix
{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytestcov, pytest-mock, pytest_xdist }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stripe";
|
|
version = "2.37.2";
|
|
|
|
# Tests require network connectivity and there's no easy way to disable
|
|
# them. ~ C.
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7ad8ee6d9bdca86d6ed38c4eb48b1b67b9529ac4fee6c26d3f9aa4d5e98b50d6";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|