# HG changeset patch # User Marcin Kuzminski # Date 2017-10-09 09:43:36 # Node ID 24e0f4b818c208debfb1e1c22522e99414091c83 # Parent aefa7aacdb97acbb9f8f9369b18de45634d3a948 dependencies: added redis library to enable usage of redis backend for beaker. diff --git a/pkgs/python-packages.nix b/pkgs/python-packages.nix --- a/pkgs/python-packages.nix +++ b/pkgs/python-packages.nix @@ -1679,6 +1679,19 @@ license = [ { fullName = "MIT/X11"; } ]; }; }; + redis = super.buildPythonPackage { + name = "redis-2.10.6"; + buildInputs = with self; []; + doCheck = false; + propagatedBuildInputs = with self; []; + src = fetchurl { + url = "https://pypi.python.org/packages/09/8d/6d34b75326bf96d4139a2ddd8e74b80840f800a0a79f9294399e212cb9a7/redis-2.10.6.tar.gz"; + md5 = "048348d8cfe0b5d0bba2f4d835005c3b"; + }; + meta = { + license = [ pkgs.lib.licenses.mit ]; + }; + }; repoze.lru = super.buildPythonPackage { name = "repoze.lru-0.6"; buildInputs = with self; []; @@ -1709,7 +1722,7 @@ name = "rhodecode-enterprise-ce-4.10.0"; buildInputs = with self; [pytest py pytest-cov pytest-sugar pytest-runner pytest-catchlog pytest-profiling gprof2dot pytest-timeout mock WebTest cov-core coverage configobj]; doCheck = true; - propagatedBuildInputs = with self; [Babel Beaker FormEncode Mako Markdown MarkupSafe MySQL-python Paste PasteDeploy PasteScript Pygments pygments-markdown-lexer Pylons Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic cssselect celery channelstream colander decorator deform docutils gevent gunicorn infrae.cache ipython iso8601 kombu lxml msgpack-python nbconvert packaging psycopg2 py-gfm pycrypto pycurl pyparsing pyramid pyramid-debugtoolbar pyramid-mako pyramid-beaker pysqlite python-dateutil python-ldap python-memcached python-pam recaptcha-client repoze.lru requests simplejson sshpubkeys subprocess32 waitress zope.cachedescriptors dogpile.cache dogpile.core psutil py-bcrypt]; + propagatedBuildInputs = with self; [Babel Beaker FormEncode Mako Markdown MarkupSafe MySQL-python Paste PasteDeploy PasteScript Pygments pygments-markdown-lexer Pylons Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic cssselect celery channelstream colander decorator deform docutils gevent gunicorn infrae.cache ipython iso8601 kombu lxml msgpack-python nbconvert packaging psycopg2 py-gfm pycrypto pycurl pyparsing pyramid pyramid-debugtoolbar pyramid-mako pyramid-beaker pysqlite python-dateutil python-ldap python-memcached python-pam recaptcha-client redis repoze.lru requests simplejson sshpubkeys subprocess32 waitress zope.cachedescriptors dogpile.cache dogpile.core psutil py-bcrypt]; src = ./.; meta = { license = [ { fullName = "Affero GNU General Public License v3 or later (AGPLv3+)"; } { fullName = "AGPLv3, and Commercial License"; } ]; diff --git a/requirements.txt b/requirements.txt --- a/requirements.txt +++ b/requirements.txt @@ -66,6 +66,7 @@ python-pam==1.8.2 pytz==2015.4 pyzmq==14.6.0 recaptcha-client==1.0.6 +redis==2.10.6 repoze.lru==0.6 requests==2.9.1 Routes==1.13 diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -131,6 +131,7 @@ install_requirements = [ 'python-memcached', 'python-pam', 'recaptcha-client', + 'redis', 'repoze.lru', 'requests', 'simplejson',