# HG changeset patch # User Marcin Kuzminski # Date 2016-06-28 22:52:30 # Node ID 2ddbbd79d88cbc727d0908d47d768529b63d0b88 # Parent 8713ccc30a84bfd894dcd322607f6d848733ee4a packages: added py-gfm lib for markdown extensions. diff --git a/pkgs/python-packages-overrides.nix b/pkgs/python-packages-overrides.nix --- a/pkgs/python-packages-overrides.nix +++ b/pkgs/python-packages-overrides.nix @@ -95,6 +95,14 @@ self: super: { }; }); + py-gfm = super.py-gfm.override { + src = pkgs.fetchgit { + url = "https://code.rhodecode.com/upstream/py-gfm"; + rev = "0d66a19bc16e3d49de273c0f797d4e4781e8c0f2"; + sha256 = "0ryp74jyihd3ckszq31bml5jr3bciimhfp7va7kw6ld92930ksv3"; + }; + }; + pycurl = super.pycurl.override (attrs: { propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ pkgs.curl diff --git a/pkgs/python-packages.nix b/pkgs/python-packages.nix --- a/pkgs/python-packages.nix +++ b/pkgs/python-packages.nix @@ -1000,6 +1000,19 @@ license = [ pkgs.lib.licenses.bsdOriginal ]; }; }; + py-gfm = super.buildPythonPackage { + name = "py-gfm-0.1.3"; + buildInputs = with self; []; + doCheck = false; + propagatedBuildInputs = with self; [setuptools Markdown]; + src = fetchurl { + url = "https://pypi.python.org/packages/12/e4/6b3d8678da04f97d7490d8264d8de51c2dc9fb91209ccee9c515c95e14c5/py-gfm-0.1.3.tar.gz"; + md5 = "e588d9e69640a241b97e2c59c22527a6"; + }; + meta = { + license = [ pkgs.lib.licenses.bsdOriginal ]; + }; + }; pycrypto = super.buildPythonPackage { name = "pycrypto-2.6.1"; buildInputs = with self; []; @@ -1342,7 +1355,7 @@ name = "rhodecode-enterprise-ce-4.2.0"; buildInputs = with self; [WebTest configobj cssselect flake8 lxml mock pytest pytest-cov pytest-runner]; doCheck = true; - propagatedBuildInputs = with self; [Babel Beaker FormEncode Mako Markdown MarkupSafe MySQL-python Paste PasteDeploy PasteScript Pygments Pylons Pyro4 Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic backport-ipaddress celery colander decorator docutils gunicorn infrae.cache ipython iso8601 kombu msgpack-python packaging psycopg2 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 waitress zope.cachedescriptors psutil py-bcrypt]; + propagatedBuildInputs = with self; [Babel Beaker FormEncode Mako Markdown MarkupSafe MySQL-python Paste PasteDeploy PasteScript Pygments Pylons Pyro4 Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic backport-ipaddress celery colander decorator docutils gunicorn infrae.cache ipython iso8601 kombu msgpack-python 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 waitress zope.cachedescriptors psutil py-bcrypt]; src = ./.; meta = { license = [ { fullName = "AGPLv3, and Commercial License"; } ]; diff --git a/requirements.txt b/requirements.txt --- a/requirements.txt +++ b/requirements.txt @@ -97,6 +97,7 @@ psutil==2.2.1 psycopg2==2.6 py==1.4.29 py-bcrypt==0.4 +py-gfm==0.1.3 pycrypto==2.6.1 pycurl==7.19.5 pyflakes==0.8.1