2019-06-07 04:22:49 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
|
|
|
, coverage, flake8, mock, nose
|
|
|
|
, http-ece, py-vapid, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywebpush";
|
2019-12-10 18:07:41 +00:00
|
|
|
version = "1.10.1";
|
2019-06-07 04:22:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 18:07:41 +00:00
|
|
|
sha256 = "e80ae0ea978b2e3b7860d2a9ae836528f5fa2e13936673e0b6613589965937ee";
|
2019-06-07 04:22:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
http-ece py-vapid requests
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
coverage flake8 mock nose
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Webpush Data encryption library for Python";
|
|
|
|
homepage = https://github.com/web-push-libs/pywebpush;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|