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