2018-07-21 00:44:44 +00:00
|
|
|
{ buildPythonPackage
|
2017-12-05 22:32:14 +00:00
|
|
|
, fetchgit
|
|
|
|
, isPy27
|
|
|
|
, unittest2
|
|
|
|
, cornice
|
|
|
|
, gunicorn
|
|
|
|
, pyramid
|
|
|
|
, requests
|
|
|
|
, simplejson
|
|
|
|
, sqlalchemy
|
|
|
|
, mozsvc
|
|
|
|
, tokenserver
|
|
|
|
, serversyncstorage
|
|
|
|
, configparser
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 13:27:58 +00:00
|
|
|
pname = "syncserver";
|
2017-12-05 22:32:14 +00:00
|
|
|
version = "1.6.0";
|
|
|
|
disabled = ! isPy27;
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/mozilla-services/syncserver.git;
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
sha256 = "1fsiwihgq3z5b5kmssxxil5g2abfvsf6wfikzyvi4sy8hnym77mb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unittest2 ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver
|
|
|
|
serversyncstorage configparser
|
|
|
|
];
|
|
|
|
}
|