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