Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pywebpush / default.nix
blobebb3313b20c52ee14d66a9d114ec1480d2a44f07
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , cryptography
5 , fetchPypi
6 , http-ece
7 , mock
8 , py-vapid
9 , pytestCheckHook
10 , pythonOlder
11 , requests
12 , setuptools
13 , six
16 buildPythonPackage rec {
17   pname = "pywebpush";
18   version = "2.0.0";
19   pyproject = true;
21   disabled = pythonOlder "3.6";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-A8zD6XW2A3S3Y0xJVZVha+Ujvyx9oNl26E/amsjGMwE=";
26   };
28   build-system = [
29     setuptools
30   ];
32   dependencies = [
33     aiohttp
34     cryptography
35     http-ece
36     py-vapid
37     requests
38     six
39   ];
41   nativeCheckInputs = [
42     mock
43     pytestCheckHook
44   ];
46   pythonImportsCheck = [
47     "pywebpush"
48   ];
50   meta = with lib; {
51     description = "Webpush Data encryption library for Python";
52     homepage = "https://github.com/web-push-libs/pywebpush";
53     changelog = "https://github.com/web-push-libs/pywebpush/releases/tag/${version}";
54     license = licenses.mpl20;
55     maintainers = with maintainers; [ peterhoeg ];
56     mainProgram = "pywebpush";
57   };