Files
nixpkgs/pkgs/development/python-modules/serversyncstorage/default.nix
T

47 lines
1008 B
Nix
Raw Normal View History

{ 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 15:27:58 +02:00
pname = "serversyncstorage";
version = "1.6.14";
2017-12-05 22:35:01 +00:00
disabled = !isPy27;
src = fetchFromGitHub {
owner = "mozilla-services";
repo = "server-syncstorage";
rev = version;
sha256 = "08xclxj38rav8yay9cijiavv35jbyf6a9jzr24vgcna8pjjnbbmh";
2017-12-05 22:35:01 +00:00
};
2018-06-23 15:27:58 +02: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
];
meta = with stdenv.lib; {
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 ];
};
2017-12-05 22:35:01 +00:00
}