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