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