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