mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #258404 from DerDennisOP/django-webpush
python3.pkgs.django-webpush: init at 0.3.4
This commit is contained in:
commit
90e9dafd68
49
pkgs/development/python-modules/django-webpush/default.nix
Normal file
49
pkgs/development/python-modules/django-webpush/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, django
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, 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";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Mwp53apdPpBcn7VfDbyDlvLAVAG65UUBhT0w9OKjKbU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
pywebpush
|
||||
];
|
||||
|
||||
# nothing to test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"webpush"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Package made 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/${src.rev}";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ derdennisop ];
|
||||
};
|
||||
}
|
@ -3116,6 +3116,8 @@ self: super: with self; {
|
||||
|
||||
django-webpack-loader = callPackage ../development/python-modules/django-webpack-loader { };
|
||||
|
||||
django-webpush = callPackage ../development/python-modules/django-webpush { };
|
||||
|
||||
django-widget-tweaks = callPackage ../development/python-modules/django-widget-tweaks { };
|
||||
|
||||
dj-database-url = callPackage ../development/python-modules/dj-database-url { };
|
||||
|
Loading…
Reference in New Issue
Block a user