about summary refs log tree commit diff
path: root/pkgs/development/python-modules/syncserver/default.nix
blob: e050bcf54043493a3e69888d1525c27d13104d7a (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
37
38
39
{ stdenv
, buildPythonPackage
, fetchgit
, isPy27
, unittest2
, cornice
, gunicorn
, pyramid
, requests
, simplejson
, sqlalchemy
, mozsvc
, tokenserver
, serversyncstorage
, configparser
}:

buildPythonPackage rec {
  name = "syncserver-${version}";
  version = "1.6.0";
  disabled = ! isPy27;

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

  buildInputs = [ unittest2 ];
  propagatedBuildInputs = [
    cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver
    serversyncstorage configparser
  ];

  meta = {
    maintainers = [ ];
    platforms = stdenv.lib.platforms.all;
  };
}