depot/third_party/nixpkgs/pkgs/development/python-modules/py-vapid/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

41 lines
687 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flake8
, mock
, nose
, pytest
, cryptography
, pythonOlder
}:
buildPythonPackage rec {
pname = "py-vapid";
version = "1.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BmSreJl0LvKyhzl6TUYe9pHtDML1hyBRKNjPYX/9uRk=";
};
propagatedBuildInputs = [
cryptography
];
nativeCheckInputs = [
flake8
mock
nose
pytest
];
meta = with lib; {
description = "Library for VAPID header generation";
homepage = "https://github.com/mozilla-services/vapid";
license = licenses.mpl20;
maintainers = with maintainers; [ ];
};
}