Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / serversyncstorage / default.nix
bloba409d48837e64fb2e51a7a28308c15ec7a608e8e
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
22 buildPythonPackage rec {
23   pname = "serversyncstorage";
24   version = "1.6.14";
25   disabled = !isPy27;
27   src = fetchFromGitHub {
28     owner = "mozilla-services";
29     repo = "server-syncstorage";
30     rev = version;
31     sha256 = "08xclxj38rav8yay9cijiavv35jbyf6a9jzr24vgcna8pjjnbbmh";
32   };
34   checkInputs = [ testfixtures unittest2 webtest ];
35   propagatedBuildInputs = [
36     pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
37     pymysqlsa umemcache WSGIProxy requests pybrowserid
38   ];
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   };