2018-12-25 17:51:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2017-12-05 22:35:01 +00:00
|
|
|
, isPy27
|
|
|
|
, testfixtures
|
|
|
|
, unittest2
|
|
|
|
, webtest
|
|
|
|
, pyramid
|
|
|
|
, sqlalchemy
|
|
|
|
, simplejson
|
|
|
|
, mozsvc
|
|
|
|
, cornice
|
|
|
|
, pyramid_hawkauth
|
|
|
|
, pymysql
|
|
|
|
, pymysqlsa
|
|
|
|
, umemcache
|
|
|
|
, WSGIProxy
|
|
|
|
, requests
|
|
|
|
, pybrowserid
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 13:27:58 +00:00
|
|
|
pname = "serversyncstorage";
|
2018-12-25 17:51:31 +00:00
|
|
|
version = "1.6.14";
|
2017-12-05 22:35:01 +00:00
|
|
|
disabled = !isPy27;
|
|
|
|
|
2018-12-25 17:51:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozilla-services";
|
|
|
|
repo = "server-syncstorage";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "08xclxj38rav8yay9cijiavv35jbyf6a9jzr24vgcna8pjjnbbmh";
|
2017-12-05 22:35:01 +00:00
|
|
|
};
|
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
checkInputs = [ testfixtures unittest2 webtest ];
|
2017-12-05 22:35:01 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
|
|
|
|
pymysqlsa umemcache WSGIProxy requests pybrowserid
|
|
|
|
];
|
2018-04-11 11:44:01 +00:00
|
|
|
|
2018-12-25 17:51:31 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-04-26 06:42:59 +00:00
|
|
|
broken = cornice.version != "0.17";
|
2018-12-25 17:51:31 +00:00
|
|
|
description = "The SyncServer server software, as used by Firefox Sync";
|
|
|
|
homepage = https://github.com/mozilla-services/server-syncstorage;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ nadrieril ];
|
2018-04-11 11:44:01 +00:00
|
|
|
};
|
2017-12-05 22:35:01 +00:00
|
|
|
}
|