Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pywebpush / default.nix
blob806f8e2138311681fecd609cfa923f05c9e64214
1 { lib
2 , fetchPypi
3 , buildPythonPackage
4 , cryptography
5 , http-ece
6 , py-vapid
7 , requests
8 , six
9 , coverage
10 , flake8
11 , mock
12 , pytestCheckHook
15 buildPythonPackage rec {
16   pname = "pywebpush";
17   version = "1.14.0";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-bDbhZ5JoIZ5pO6lA2yvyVMJAygJmTeECtyaa/DxUVzE=";
22   };
24   propagatedBuildInputs = [
25     cryptography
26     http-ece
27     py-vapid
28     requests
29     six
30   ];
32   nativeCheckInputs = [
33     coverage
34     flake8
35     mock
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "pywebpush" ];
41   meta = with lib; {
42     description = "Webpush Data encryption library for Python";
43     homepage = "https://github.com/web-push-libs/pywebpush";
44     license = licenses.mpl20;
45     maintainers = with maintainers; [ peterhoeg ];
46   };