depot/third_party/nixpkgs/pkgs/development/python-modules/py-vapid/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

41 lines
681 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
];
checkInputs = [
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; [ ];
};
}