Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 671 B view raw
1{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytestcov, pytest-mock, pytest_xdist }: 2 3buildPythonPackage rec { 4 pname = "stripe"; 5 version = "2.50.0"; 6 7 # Tests require network connectivity and there's no easy way to disable 8 # them. ~ C. 9 doCheck = false; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0c3c02c9b65644502a701d4ff939964799bd1a581fb3f8bf75a3f8675527ef48"; 14 }; 15 16 propagatedBuildInputs = [ requests ]; 17 18 checkInputs = [ pytest pytestcov pytest-mock pytest_xdist ]; 19 20 meta = with lib; { 21 description = "Stripe Python bindings"; 22 homepage = "https://github.com/stripe/stripe-python"; 23 license = licenses.mit; 24 }; 25}