1{ lib, buildPythonPackage, fetchPypi
2, flake8, mock, nose, pytest
3, cryptography
4}:
5
6buildPythonPackage rec {
7 pname = "py-vapid";
8 version = "1.5.0";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "1b3g4ljkpi6ka5n63bl5y47r3qhxjmr6qfamqwxnmna2567b5las";
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}