2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 16:32:07 +01:00
|
|
|
, buildPythonPackage
|
2020-11-01 22:39:49 +00:00
|
|
|
, fetchFromGitHub
|
2018-10-16 16:32:07 +01:00
|
|
|
, pyramid
|
|
|
|
, hawkauthlib
|
|
|
|
, tokenlib
|
|
|
|
, webtest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-11-01 22:39:49 +00:00
|
|
|
pname = "pyramid_hawkauth";
|
2018-10-16 16:32:07 +01:00
|
|
|
version = "0.1.0";
|
|
|
|
|
2020-11-01 22:39:49 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozilla-services";
|
|
|
|
repo = pname;
|
2018-10-16 16:32:07 +01:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyramid hawkauthlib tokenlib ];
|
|
|
|
buildInputs = [ webtest ];
|
|
|
|
|
2021-02-16 22:21:43 +00:00
|
|
|
pythonImportsCheck = [ "pyramid_hawkauth" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mozilla-services/pyramid_hawkauth";
|
2018-10-16 16:32:07 +01:00
|
|
|
description = "A Pyramid authentication plugin for HAWK";
|
|
|
|
license = licenses.mpl20;
|
2021-02-16 22:21:43 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-10-16 16:32:07 +01:00
|
|
|
};
|
|
|
|
}
|