1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyramid, 6 pytestCheckHook, 7 setuptools, 8 setuptools-scm, 9}: 10 11buildPythonPackage rec { 12 pname = "pyramid-multiauth"; 13 version = "1.0.2"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "mozilla-services"; 18 repo = "pyramid_multiauth"; 19 tag = version; 20 hash = "sha256-Bz53iCGsl6WZASIvBQ1pFfcGLra82vA2OLWjhLVdkrw="; 21 }; 22 23 build-system = [ 24 setuptools 25 setuptools-scm 26 ]; 27 28 dependencies = [ pyramid ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 meta = { 33 changelog = "https://github.com/mozilla-services/pyramid_multiauth/releases/tag/${version}"; 34 description = "Authentication policy for Pyramid that proxies to a stack of other authentication policies"; 35 homepage = "https://github.com/mozilla-services/pyramid_multiauth"; 36 license = lib.licenses.mpl20; 37 maintainers = with lib.maintainers; [ bot-wxt1221 ]; 38 }; 39}