depot/third_party/nixpkgs/pkgs/development/python-modules/pywebpush/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

47 lines
788 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, cryptography
, http-ece
, py-vapid
, requests
, six
, coverage
, flake8
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pywebpush";
version = "1.14.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-bDbhZ5JoIZ5pO6lA2yvyVMJAygJmTeECtyaa/DxUVzE=";
};
propagatedBuildInputs = [
cryptography
http-ece
py-vapid
requests
six
];
nativeCheckInputs = [
coverage
flake8
mock
pytestCheckHook
];
pythonImportsCheck = [ "pywebpush" ];
meta = with lib; {
description = "Webpush Data encryption library for Python";
homepage = "https://github.com/web-push-libs/pywebpush";
license = licenses.mpl20;
maintainers = with maintainers; [ peterhoeg ];
};
}