1{ 2 lib, 3 buildPythonPackage, 4 django, 5 fetchFromGitHub, 6 pythonOlder, 7 pywebpush, 8 setuptools-scm, 9}: 10 11buildPythonPackage rec { 12 pname = "django-webpush"; 13 version = "0.3.4"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "safwanrahman"; 20 repo = "django-webpush"; 21 tag = version; 22 hash = "sha256-Mwp53apdPpBcn7VfDbyDlvLAVAG65UUBhT0w9OKjKbU="; 23 }; 24 25 pythonRelaxDeps = [ "pywebpush" ]; 26 27 build-system = [ 28 setuptools-scm 29 ]; 30 31 dependencies = [ 32 django 33 pywebpush 34 ]; 35 36 # Module has no tests 37 doCheck = false; 38 39 pythonImportsCheck = [ "webpush" ]; 40 41 meta = with lib; { 42 description = "Module for integrating and sending Web Push Notification in Django Application"; 43 homepage = "https://github.com/safwanrahman/django-webpush/"; 44 changelog = "https://github.com/safwanrahman/django-webpush/releases/tag/${version}"; 45 license = licenses.gpl3Plus; 46 maintainers = with maintainers; [ derdennisop ]; 47 }; 48}