2019-06-07 04:21:05 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, flake8, mock, nose, pytest
|
|
|
|
, cryptography
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py-vapid";
|
2021-03-24 09:28:26 +00:00
|
|
|
version = "1.8.0";
|
2019-06-07 04:21:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:26 +00:00
|
|
|
sha256 = "9e8de790cce397d9bc567a2148c3c5d88740f668342c59aaff9ed004f716a111";
|
2019-06-07 04:21:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cryptography ];
|
|
|
|
|
|
|
|
checkInputs = [ flake8 mock nose pytest ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "VAPID is a voluntary standard for WebPush subscription providers";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mozilla-services/vapid";
|
2019-06-07 04:21:05 +01:00
|
|
|
license = licenses.mpl20;
|
|
|
|
};
|
|
|
|
}
|