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