2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, flake8, mock, nose, pytest
|
|
|
|
, cryptography
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py-vapid";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.8.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "874f21910f2103c56228cded941d6e733dd8f1eb12876137919533bfacb65a48";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|