2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2023-11-16 04:20:00 +00:00
|
|
|
, fetchFromGitHub
|
2020-04-24 23:36:52 +00:00
|
|
|
, pyramid
|
2023-11-16 04:20:00 +00:00
|
|
|
, unittestCheckHook
|
|
|
|
, setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-10-19 13:55:26 +00:00
|
|
|
pname = "pyramid-multiauth";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.0.1";
|
2023-11-16 04:20:00 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozilla-services";
|
|
|
|
repo = "pyramid_multiauth";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-+Aa+Vc4qCqDe/W5m/RBpYAyOMJkBv+ZGSqElJlkHqs4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyramid
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
unittestCheckHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-11-16 04:20:00 +00:00
|
|
|
changelog = "https://github.com/mozilla-services/pyramid_multiauth/releases/tag/${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Authentication policy for Pyramid that proxies to a stack of other authentication policies";
|
|
|
|
homepage = "https://github.com/mozilla-services/pyramid_multiauth";
|
|
|
|
license = licenses.mpl20;
|
2021-02-17 17:02:09 +00:00
|
|
|
maintainers = with maintainers; [];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|