1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-24 10:10:37 +03:00
nixpkgs/pkgs/development/python-modules/py-vapid/default.nix

39 lines
717 B
Nix
Raw Normal View History

2024-05-22 16:01:06 +02:00
{
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=";
};
2024-05-22 16:01:06 +02:00
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; [ ];
};
}