1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, requests
5, webob
6}:
7
8buildPythonPackage rec {
9 pname = "hawkauthlib";
10 version = "0.1.1";
11
12 src = fetchFromGitHub {
13 owner = "mozilla-services";
14 repo = pname;
15 rev = "refs/tags/v${version}";
16 sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi";
17 };
18
19 propagatedBuildInputs = [ requests webob ];
20
21 meta = with lib; {
22 homepage = "https://github.com/mozilla-services/hawkauthlib";
23 description = "Hawk Access Authentication protocol";
24 license = licenses.mpl20;
25 };
26
27}