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