summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyramid_hawkauth/default.nix
blob: a272325505710d72ae01863cf53f1a303ef20cf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv
, buildPythonPackage
, fetchgit
, pyramid
, hawkauthlib
, tokenlib
, webtest
}:

buildPythonPackage rec {
  pname = "pyramidhawkauth";
  version = "0.1.0";

  src = fetchgit {
    url = https://github.com/mozilla-services/pyramid_hawkauth.git;
    rev = "refs/tags/v${version}";
    sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
  };

  propagatedBuildInputs = [ pyramid hawkauthlib tokenlib ];
  buildInputs = [ webtest ];

  meta = with stdenv.lib; {
    homepage = https://github.com/mozilla-services/pyramid_hawkauth;
    description = "A Pyramid authentication plugin for HAWK";
    license = licenses.mpl20;
  };

}