2021-03-27 00:22:40 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, cryptography
|
|
|
|
, http-ece
|
|
|
|
, py-vapid
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, coverage
|
|
|
|
, flake8
|
|
|
|
, mock
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2019-06-07 04:22:49 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywebpush";
|
2021-03-24 09:28:26 +00:00
|
|
|
version = "1.13.0";
|
2019-06-07 04:22:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:26 +00:00
|
|
|
sha256 = "97ef000a685cd1f63d9d3553568508508904bfe419485df2b83b025d94e9ae54";
|
2019-06-07 04:22:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-03-27 00:22:40 +00:00
|
|
|
cryptography
|
|
|
|
http-ece
|
|
|
|
py-vapid
|
|
|
|
requests
|
|
|
|
six
|
2019-06-07 04:22:49 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-03-27 00:22:40 +00:00
|
|
|
coverage
|
|
|
|
flake8
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
2019-06-07 04:22:49 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|