2019-06-07 04:22:49 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
|
|
|
, coverage, flake8, mock, nose
|
|
|
|
, http-ece, py-vapid, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywebpush";
|
2020-05-09 11:01:58 +01:00
|
|
|
version = "1.10.2";
|
2019-06-07 04:22:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:58 +01:00
|
|
|
sha256 = "61e6b92ee23ea3f7afbb427508e51c789a0c10cbc962fab9de582ad48b5792e4";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/web-push-libs/pywebpush";
|
2019-06-07 04:22:49 +01:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|