mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
91a6ffa4bd
this package doesn't build if accessed directly from the top level without a specially overridden cornice package supplied - as done by syncserver
48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, isPy27
|
|
, testfixtures
|
|
, unittest2
|
|
, webtest
|
|
, pyramid
|
|
, sqlalchemy
|
|
, simplejson
|
|
, mozsvc
|
|
, cornice
|
|
, pyramid_hawkauth
|
|
, pymysql
|
|
, pymysqlsa
|
|
, umemcache
|
|
, WSGIProxy
|
|
, requests
|
|
, pybrowserid
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "serversyncstorage";
|
|
version = "1.6.14";
|
|
disabled = !isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mozilla-services";
|
|
repo = "server-syncstorage";
|
|
rev = version;
|
|
sha256 = "08xclxj38rav8yay9cijiavv35jbyf6a9jzr24vgcna8pjjnbbmh";
|
|
};
|
|
|
|
checkInputs = [ testfixtures unittest2 webtest ];
|
|
propagatedBuildInputs = [
|
|
pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
|
|
pymysqlsa umemcache WSGIProxy requests pybrowserid
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
broken = cornice.version != "0.17";
|
|
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 ];
|
|
};
|
|
}
|