2018-10-16 15:32:07 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchgit
|
|
|
|
, pyramid
|
|
|
|
, hawkauthlib
|
|
|
|
, tokenlib
|
|
|
|
, webtest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyramidhawkauth";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "https://github.com/mozilla-services/pyramid_hawkauth.git";
|
2018-10-16 15:32:07 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyramid hawkauthlib tokenlib ];
|
|
|
|
buildInputs = [ webtest ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/mozilla-services/pyramid_hawkauth";
|
2018-10-16 15:32:07 +00:00
|
|
|
description = "A Pyramid authentication plugin for HAWK";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|