0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 22:20:30 +03:00
nixpkgs/pkgs/development/python-modules/django-webpush/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
997 B
Nix
Raw Permalink Normal View History

{
lib,
buildPythonPackage,
django,
fetchFromGitHub,
pythonOlder,
pywebpush,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "django-webpush";
version = "0.3.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "safwanrahman";
repo = "django-webpush";
tag = version;
hash = "sha256-Mwp53apdPpBcn7VfDbyDlvLAVAG65UUBhT0w9OKjKbU=";
};
pythonRelaxDeps = [ "pywebpush" ];
build-system = [
setuptools-scm
];
dependencies = [
django
pywebpush
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "webpush" ];
meta = with lib; {
description = "Module for integrating and sending Web Push Notification in Django Application";
homepage = "https://github.com/safwanrahman/django-webpush/";
changelog = "https://github.com/safwanrahman/django-webpush/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ derdennisop ];
};
}