1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, isPy27
5, testfixtures
6, unittest2
7, webtest
8, pyramid
9, sqlalchemy
10, simplejson
11, mozsvc
12, cornice
13, pyramid_hawkauth
14, pymysql
15, pymysqlsa
16, umemcache
17, WSGIProxy
18, requests
19, pybrowserid
20}:
21
22buildPythonPackage rec {
23 pname = "serversyncstorage";
24 version = "1.6.14";
25 disabled = !isPy27;
26
27 src = fetchFromGitHub {
28 owner = "mozilla-services";
29 repo = "server-syncstorage";
30 rev = version;
31 sha256 = "08xclxj38rav8yay9cijiavv35jbyf6a9jzr24vgcna8pjjnbbmh";
32 };
33
34 checkInputs = [ testfixtures unittest2 webtest ];
35 propagatedBuildInputs = [
36 pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
37 pymysqlsa umemcache WSGIProxy requests pybrowserid
38 ];
39
40 meta = with lib; {
41 broken = cornice.version != "0.17";
42 description = "The SyncServer server software, as used by Firefox Sync";
43 homepage = "https://github.com/mozilla-services/server-syncstorage";
44 license = licenses.mpl20;
45 maintainers = with maintainers; [ nadrieril ];
46 };
47}