1{ lib, buildPythonPackage, fetchPypi
2, flake8, mock, nose, pytest
3, cryptography
4}:
5
6buildPythonPackage rec {
7 pname = "py-vapid";
8 version = "1.7.1";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "f05cecaa9fc009515086d04b6117324f30eedf1a196f67fb1ec360a9dbdad4ee";
13 };
14
15 propagatedBuildInputs = [ cryptography ];
16
17 checkInputs = [ flake8 mock nose pytest ];
18
19 meta = with lib; {
20 description = "VAPID is a voluntary standard for WebPush subscription providers";
21 homepage = "https://github.com/mozilla-services/vapid";
22 license = licenses.mpl20;
23 };
24}