1{ lib, fetchPypi, buildPythonPackage
2, coverage, flake8, mock, nose
3, http-ece, py-vapid, requests }:
4
5buildPythonPackage rec {
6 pname = "pywebpush";
7 version = "1.10.1";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "e80ae0ea978b2e3b7860d2a9ae836528f5fa2e13936673e0b6613589965937ee";
12 };
13
14 propagatedBuildInputs = [
15 http-ece py-vapid requests
16 ];
17
18 checkInputs = [
19 coverage flake8 mock nose
20 ];
21
22 meta = with lib; {
23 description = "Webpush Data encryption library for Python";
24 homepage = https://github.com/web-push-libs/pywebpush;
25 license = licenses.mpl20;
26 maintainers = with maintainers; [ peterhoeg ];
27 };
28}