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