1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools, 6 requests, 7 urllib3, 8 google-auth, 9}: 10 11buildPythonPackage rec { 12 pname = "pyfcm"; 13 version = "2.0.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "olucurious"; 18 repo = "pyfcm"; 19 tag = version; 20 hash = "sha256-lpSbb0DDXLHne062s7g27zRpvTuOHiqQkqGOtWvuWdI="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 requests 27 urllib3 28 google-auth 29 ]; 30 31 # pyfcm's unit testing suite requires network access 32 doCheck = false; 33 34 pythonImportsCheck = [ "pyfcm" ]; 35 36 meta = with lib; { 37 description = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)"; 38 homepage = "https://github.com/olucurious/pyfcm"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ ldelelis ]; 41 }; 42}