2018-10-16 16:32:07 +01:00
|
|
|
{ stdenv
|
|
|
|
, 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 ];
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|