1{ stdenv
2, buildPythonPackage
3, fetchgit
4, pyramid
5, hawkauthlib
6, tokenlib
7, webtest
8}:
9
10buildPythonPackage rec {
11 pname = "pyramidhawkauth";
12 version = "0.1.0";
13
14 src = fetchgit {
15 url = "https://github.com/mozilla-services/pyramid_hawkauth.git";
16 rev = "refs/tags/v${version}";
17 sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
18 };
19
20 propagatedBuildInputs = [ pyramid hawkauthlib tokenlib ];
21 buildInputs = [ webtest ];
22
23 meta = with stdenv.lib; {
24 homepage = "https://github.com/mozilla-services/pyramid_hawkauth";
25 description = "A Pyramid authentication plugin for HAWK";
26 license = licenses.mpl20;
27 };
28
29}