aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/tokenlib/default.nix
blob: 7c8e99cc399a92fcc5fae896b7d09e7acc24c4f4 (plain)
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
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, requests
, webob
}:

buildPythonPackage rec {
  pname = "tokenlib";
  version = "0.3.1";

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

  propagatedBuildInputs = [ requests webob ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/mozilla-services/tokenlib";
    description = "Generic support library for signed-token-based auth schemes";
    license = licenses.mpl20;
  };

}