at master 851 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 requests, 7 setuptools, 8 typing-extensions, 9}: 10 11buildPythonPackage rec { 12 pname = "stripe"; 13 version = "12.5.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-VAfQksNVwxOT52fS3LLVqMOYDKqaBzrLMtDMs8AbBLU="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 requests 27 typing-extensions 28 ]; 29 30 # Tests require network connectivity and there's no easy way to disable them 31 doCheck = false; 32 33 pythonImportsCheck = [ "stripe" ]; 34 35 meta = with lib; { 36 description = "Stripe Python bindings"; 37 homepage = "https://github.com/stripe/stripe-python"; 38 changelog = "https://github.com/stripe/stripe-python/blob/v${version}/CHANGELOG.md"; 39 license = licenses.mit; 40 maintainers = [ ]; 41 }; 42}