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