depot/third_party/nixpkgs/pkgs/development/python-modules/py-vapid/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

24 lines
583 B
Nix

{ lib, buildPythonPackage, fetchPypi
, flake8, mock, nose, pytest
, cryptography
}:
buildPythonPackage rec {
pname = "py-vapid";
version = "1.8.2";
src = fetchPypi {
inherit pname version;
sha256 = "874f21910f2103c56228cded941d6e733dd8f1eb12876137919533bfacb65a48";
};
propagatedBuildInputs = [ cryptography ];
checkInputs = [ flake8 mock nose pytest ];
meta = with lib; {
description = "VAPID is a voluntary standard for WebPush subscription providers";
homepage = "https://github.com/mozilla-services/vapid";
license = licenses.mpl20;
};
}