evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / django-webpush / default.nix
blob803de4851118a49556d52b6eb69ea33ff67d8099
2   lib,
3   buildPythonPackage,
4   django,
5   fetchFromGitHub,
6   pythonOlder,
7   pywebpush,
8   setuptools-scm,
9 }:
11 buildPythonPackage rec {
12   pname = "django-webpush";
13   version = "0.3.4";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "safwanrahman";
20     repo = "django-webpush";
21     rev = "refs/tags/${version}";
22     hash = "sha256-Mwp53apdPpBcn7VfDbyDlvLAVAG65UUBhT0w9OKjKbU=";
23   };
25   pythonRelaxDeps = [ "pywebpush" ];
27   build-system = [
28     setuptools-scm
29   ];
31   dependencies = [
32     django
33     pywebpush
34   ];
36   # Module has no tests
37   doCheck = false;
39   pythonImportsCheck = [ "webpush" ];
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/${lib.removePrefix "refs/tags/" src.rev}";
45     license = licenses.gpl3Plus;
46     maintainers = with maintainers; [ derdennisop ];
47   };