depot/third_party/nixpkgs/pkgs/development/python-modules/py-vapid/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

38 lines
699 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 = [ ];
};
}