1{ lib 2, buildPythonPackage 3, fetchPypi 4, flake8 5, mock 6, nose 7, pytest 8, cryptography 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "py-vapid"; 14 version = "1.9.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-BmSreJl0LvKyhzl6TUYe9pHtDML1hyBRKNjPYX/9uRk="; 22 }; 23 24 propagatedBuildInputs = [ 25 cryptography 26 ]; 27 28 nativeCheckInputs = [ 29 flake8 30 mock 31 nose 32 pytest 33 ]; 34 35 meta = with lib; { 36 description = "Library for VAPID header generation"; 37 homepage = "https://github.com/mozilla-services/vapid"; 38 license = licenses.mpl20; 39 maintainers = with maintainers; [ ]; 40 }; 41}