summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyramid_hawkauth/default.nix
blob: c2e17f8addef41171a5fd191a139db2a0a0906d8 (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
30
31
32
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyramid
, hawkauthlib
, tokenlib
, webtest
}:

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

  src = fetchFromGitHub {
    owner = "mozilla-services";
    repo = pname;
    rev = "refs/tags/v${version}";
    sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
  };

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

  pythonImportsCheck = [ "pyramid_hawkauth" ];

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