biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pywebpush / default.nix
blob71ba2f75af4951848f32402828b6a0b6929d9349
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   cryptography,
6   fetchPypi,
7   http-ece,
8   mock,
9   py-vapid,
10   pytestCheckHook,
11   pythonOlder,
12   requests,
13   setuptools,
14   six,
17 buildPythonPackage rec {
18   pname = "pywebpush";
19   version = "2.0.1";
20   pyproject = true;
22   disabled = pythonOlder "3.6";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-cuNYauyJoGNzwFheb5fG/QuBUZ5B8yiWo2OZCez0XbA=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     aiohttp
33     cryptography
34     http-ece
35     py-vapid
36     requests
37     six
38   ];
40   nativeCheckInputs = [
41     mock
42     pytestCheckHook
43   ];
45   pythonImportsCheck = [ "pywebpush" ];
47   meta = with lib; {
48     description = "Webpush Data encryption library for Python";
49     homepage = "https://github.com/web-push-libs/pywebpush";
50     changelog = "https://github.com/web-push-libs/pywebpush/releases/tag/${version}";
51     license = licenses.mpl20;
52     maintainers = with maintainers; [ peterhoeg ];
53     mainProgram = "pywebpush";
54   };