Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 25 lines 657 B view raw
1{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytestcov, pytest-mock, pytest_xdist }: 2 3buildPythonPackage rec { 4 pname = "stripe"; 5 version = "2.42.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 = "1vrs0mydj2j789slzfv5413qxa067zi7p34h2p63612gm3vdrcl9"; 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}