depot/third_party/nixpkgs/pkgs/development/python-modules/pywebpush/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

45 lines
756 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, cryptography
, http-ece
, py-vapid
, requests
, six
, coverage
, flake8
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pywebpush";
version = "1.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "97ef000a685cd1f63d9d3553568508508904bfe419485df2b83b025d94e9ae54";
};
propagatedBuildInputs = [
cryptography
http-ece
py-vapid
requests
six
];
checkInputs = [
coverage
flake8
mock
pytestCheckHook
];
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 ];
};
}