2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-12-25 17:51:31 +00:00
|
|
|
, 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 14:27:58 +01: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 14:27:58 +01: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 12:44:01 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-04-26 07:42:59 +01:00
|
|
|
broken = cornice.version != "0.17";
|
2018-12-25 17:51:31 +00:00
|
|
|
description = "The SyncServer server software, as used by Firefox Sync";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mozilla-services/server-syncstorage";
|
2018-12-25 17:51:31 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ nadrieril ];
|
2018-04-11 12:44:01 +01:00
|
|
|
};
|
2017-12-05 22:35:01 +00:00
|
|
|
}
|