1{ stdenv
2, buildPythonPackage
3, fetchgit
4, requests
5, webob
6}:
7
8buildPythonPackage rec {
9 pname = "tokenlib";
10 version = "0.3.1";
11
12 src = fetchgit {
13 url = https://github.com/mozilla-services/tokenlib.git;
14 rev = "refs/tags/${version}";
15 sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8";
16 };
17
18 propagatedBuildInputs = [ requests webob ];
19
20 meta = with stdenv.lib; {
21 homepage = https://github.com/mozilla-services/tokenlib;
22 description = "Generic support library for signed-token-based auth schemes";
23 license = licenses.mpl20;
24 };
25
26}