nix: add pygments-markdown-lexer for highglighting markdown files

This commit is contained in:
Daniel Dourvaris 2016-10-20 02:46:43 +03:00
parent c069290119
commit 1960780e96
4 changed files with 29 additions and 1 deletions

View file

@ -12,6 +12,8 @@ permission notice:
file:licenses/msgpack_license.txt file:licenses/msgpack_license.txt
Copyright (c) 2009 - tornado Copyright (c) 2009 - tornado
file:licenses/tornado_license.txt file:licenses/tornado_license.txt
Copyright (c) 2015 - pygments-markdown-lexer
file:licenses/pygments_markdown_lexer_license.txt
All licensed under the Apache License, Version 2.0 (the "License"); All licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.

View file

@ -0,0 +1,12 @@
Copyright © 2015 Jürgen Hermann <jh@web.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View file

@ -1081,6 +1081,19 @@
license = [ pkgs.lib.licenses.mit ]; license = [ pkgs.lib.licenses.mit ];
}; };
}; };
pygments-markdown-lexer = super.buildPythonPackage {
name = "pygments-markdown-lexer-0.1.0.dev39";
buildInputs = with self; [];
doCheck = false;
propagatedBuildInputs = with self; [Pygments];
src = fetchurl {
url = "https://pypi.python.org/packages/c3/12/674cdee66635d638cedb2c5d9c85ce507b7b2f91bdba29e482f1b1160ff6/pygments-markdown-lexer-0.1.0.dev39.zip";
md5 = "6360fe0f6d1f896e35b7a0142ce6459c";
};
meta = {
license = [ pkgs.lib.licenses.asl20 { fullName = "Apache"; } ];
};
};
pyparsing = super.buildPythonPackage { pyparsing = super.buildPythonPackage {
name = "pyparsing-1.5.7"; name = "pyparsing-1.5.7";
buildInputs = with self; []; buildInputs = with self; [];
@ -1384,7 +1397,7 @@
name = "rhodecode-enterprise-ce-4.5.0"; name = "rhodecode-enterprise-ce-4.5.0";
buildInputs = with self; [WebTest configobj cssselect lxml mock pytest pytest-cov pytest-runner pytest-sugar]; buildInputs = with self; [WebTest configobj cssselect lxml mock pytest pytest-cov pytest-runner pytest-sugar];
doCheck = true; 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 channelstream colander decorator deform docutils gevent 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 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 Pylons Pyro4 Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic backport-ipaddress celery channelstream colander decorator deform docutils gevent gunicorn infrae.cache ipython iso8601 kombu msgpack-python packaging psycopg2 py-gfm pycrypto pycurl pygments-markdown-lexer pyparsing pyramid pyramid-debugtoolbar pyramid-mako pyramid-beaker pysqlite python-dateutil python-ldap python-memcached python-pam recaptcha-client repoze.lru requests simplejson subprocess32 waitress zope.cachedescriptors dogpile.cache dogpile.core psutil py-bcrypt];
src = ./.; src = ./.;
meta = { meta = {
license = [ { fullName = "AGPLv3, and Commercial License"; } ]; license = [ { fullName = "AGPLv3, and Commercial License"; } ];

View file

@ -12,6 +12,7 @@ Paste==2.0.2
PasteDeploy==1.5.2 PasteDeploy==1.5.2
PasteScript==1.7.5 PasteScript==1.7.5
Pygments==2.1.3 Pygments==2.1.3
pygments-markdown-lexer==0.1.0.dev39
# TODO: This version is not available on PyPI # TODO: This version is not available on PyPI
# Pylons==1.0.2.dev20160108 # Pylons==1.0.2.dev20160108