summary refs log tree commit diff
path: root/pkgs/development/python-modules/tokenserver/default.nix
blob: af7acbc0218e776994e08691bc73ac04dec3d38b (plain) (blame)
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
28
29
30
31
32
33
34
35
36
{ stdenv
, buildPythonPackage
, fetchgit
, testfixtures
, cornice
, mozsvc
, pybrowserid
, tokenlib
, pymysql
, umemcache
, hawkauthlib
, alembic
, pymysqlsa
, paste
, boto
}:

buildPythonPackage rec {
  name = "tokenserver-${version}";
  version = "1.2.27";

  src = fetchgit {
    url = https://github.com/mozilla-services/tokenserver.git;
    rev = "refs/tags/${version}";
    sha256 = "0il3bgjld495g9gxvvrm56kpan5swaizzg216qz3zxmb6w9ly3fm";
  };

  doCheck = false;
  buildInputs = [ testfixtures ];
  propagatedBuildInputs = [ cornice mozsvc pybrowserid tokenlib
    pymysql umemcache hawkauthlib alembic pymysqlsa paste boto ];

  meta = {
    platforms = stdenv.lib.platforms.all;
  };
}