1{ buildPythonPackage
2, fetchgit
3, isPy27
4, unittest2
5, cornice
6, gunicorn
7, pyramid
8, requests
9, simplejson
10, sqlalchemy
11, mozsvc
12, tokenserver
13, serversyncstorage
14, configparser
15}:
16
17buildPythonPackage rec {
18 pname = "syncserver";
19 version = "1.6.0";
20 disabled = ! isPy27;
21
22 src = fetchgit {
23 url = https://github.com/mozilla-services/syncserver.git;
24 rev = "refs/tags/${version}";
25 sha256 = "1fsiwihgq3z5b5kmssxxil5g2abfvsf6wfikzyvi4sy8hnym77mb";
26 };
27
28 buildInputs = [ unittest2 ];
29 propagatedBuildInputs = [
30 cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver
31 serversyncstorage configparser
32 ];
33}