Merge pull request #62801 from peterhoeg/p/pywebpush

python3Packages.pywebpush: init at 1.9.4
This commit is contained in:
Frederik Rietdijk 2019-06-12 09:14:18 +02:00 committed by GitHub
commit 869f90be8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 83 additions and 1 deletions

View file

@ -0,0 +1,24 @@
{ lib, fetchPypi, buildPythonPackage
, coverage, flake8, mock, nose
, cryptography }:
buildPythonPackage rec {
pname = "http_ece";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1y5ln09ji4dwpzhxr77cggk02kghq7lql60a6969a5n2lwpvqblk";
};
propagatedBuildInputs = [ cryptography ];
checkInputs = [ coverage flake8 mock nose ];
meta = with lib; {
description = "Encipher HTTP Messages";
homepage = https://github.com/martinthomson/encrypted-content-encoding;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}

View file

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi
, flake8, mock, nose, pytest
, cryptography
}:
buildPythonPackage rec {
pname = "py-vapid";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "1b3g4ljkpi6ka5n63bl5y47r3qhxjmr6qfamqwxnmna2567b5las";
};
propagatedBuildInputs = [ cryptography ];
checkInputs = [ flake8 mock nose pytest ];
meta = with lib; {
description = "VAPID is a voluntary standard for WebPush subscription providers";
homepage = https://github.com/mozilla-services/vapid;
license = licenses.mpl20;
};
}

View file

@ -0,0 +1,28 @@
{ lib, fetchPypi, buildPythonPackage
, coverage, flake8, mock, nose
, http-ece, py-vapid, requests }:
buildPythonPackage rec {
pname = "pywebpush";
version = "1.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "03qkijz56fx7p8405sknw2wji4pfj5knajk2lmj9y58mjxydbpp3";
};
propagatedBuildInputs = [
http-ece py-vapid requests
];
checkInputs = [
coverage flake8 mock nose
];
meta = with lib; {
description = "Webpush Data encryption library for Python";
homepage = https://github.com/web-push-libs/pywebpush;
license = licenses.mpl20;
maintainers = with maintainers; [ peterhoeg ];
};
}

View file

@ -302,7 +302,7 @@
"hook" = ps: with ps; [ ];
"horizon" = ps: with ps; [ ];
"hp_ilo" = ps: with ps; [ ];
"html5" = ps: with ps; [ aiohttp-cors ];
"html5" = ps: with ps; [ aiohttp-cors pywebpush ];
"http" = ps: with ps; [ aiohttp-cors ];
"htu21d" = ps: with ps; [ ];
"huawei_lte" = ps: with ps; [ ];

View file

@ -492,6 +492,8 @@ in {
hopcroftkarp = callPackage ../development/python-modules/hopcroftkarp { };
http-ece = callPackage ../development/python-modules/http-ece { };
httpsig = callPackage ../development/python-modules/httpsig { };
httptools = callPackage ../development/python-modules/httptools { };
@ -877,8 +879,12 @@ in {
pytricia = callPackage ../development/python-modules/pytricia { };
py-vapid = callPackage ../development/python-modules/py-vapid { };
PyWebDAV = callPackage ../development/python-modules/pywebdav { };
pywebpush = callPackage ../development/python-modules/pywebpush { };
pyxml = disabledIf isPy3k (callPackage ../development/python-modules/pyxml{ });
pyvcd = callPackage ../development/python-modules/pyvcd { };