1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 cryptography, 6 fetchFromGitHub, 7 pythonOlder, 8 requests, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "simplepush"; 14 version = "2.2.3"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "simplepush"; 21 repo = "simplepush-python"; 22 tag = "v${version}"; 23 hash = "sha256-DvDPihhx1rzJN6iQP5rHluplJ1AaN0b/glcd+tZCues="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 propagatedBuildInputs = [ 29 aiohttp 30 cryptography 31 requests 32 ]; 33 34 # Module has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ "simplepush" ]; 38 39 meta = with lib; { 40 description = "Module to send push notifications via Simplepush"; 41 homepage = "https://github.com/simplepush/simplepush-python"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}