depot/third_party/nixpkgs/pkgs/development/python-modules/py-vapid/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
717 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
mock,
pytestCheckHook,
cryptography,
pythonOlder,
}:
buildPythonPackage rec {
pname = "py-vapid";
version = "1.9.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "py_vapid";
inherit version;
hash = "sha256-/itUYb9Fx7r/EDnfaYHwO4f6qHzeBIKt36NbP+Y2rBs=";
};
propagatedBuildInputs = [ cryptography ];
nativeCheckInputs = [
mock
pytestCheckHook
];
meta = with lib; {
description = "Library for VAPID header generation";
mainProgram = "vapid";
homepage = "https://github.com/mozilla-services/vapid";
license = licenses.mpl20;
maintainers = with maintainers; [ ];
};
}