python311Packages.django-webpush: refactor

This commit is contained in:
Fabian Affolter 2024-03-29 16:23:24 +01:00
parent c782d7704c
commit 6738f9d395

View File

@ -22,17 +22,21 @@ buildPythonPackage rec {
hash = "sha256-Mwp53apdPpBcn7VfDbyDlvLAVAG65UUBhT0w9OKjKbU="; hash = "sha256-Mwp53apdPpBcn7VfDbyDlvLAVAG65UUBhT0w9OKjKbU=";
}; };
nativeBuildInputs = [ pythonRelaxDeps = [
"pywebpush"
];
build-system = [
pythonRelaxDepsHook pythonRelaxDepsHook
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
django django
pywebpush pywebpush
]; ];
# nothing to test # Module has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [
@ -40,7 +44,7 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
description = "A Package made for integrating and sending Web Push Notification in Django Application"; description = "Module for integrating and sending Web Push Notification in Django Application";
homepage = "https://github.com/safwanrahman/django-webpush/"; homepage = "https://github.com/safwanrahman/django-webpush/";
changelog = "https://github.com/safwanrahman/django-webpush/releases/tag/${src.rev}"; changelog = "https://github.com/safwanrahman/django-webpush/releases/tag/${src.rev}";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;