From 64702f92bd81dd5f0b8d3fc7934eecc5df4bb89e Mon Sep 17 00:00:00 2001 From: Matthew O'Gorman Date: Thu, 7 Jan 2016 22:32:06 -0500 Subject: [PATCH] jekyll: added rouge for highlighting. --- pkgs/applications/misc/jekyll/Gemfile | 1 + pkgs/applications/misc/jekyll/Gemfile.lock | 2 ++ pkgs/applications/misc/jekyll/gemset.nix | 10 +++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/jekyll/Gemfile b/pkgs/applications/misc/jekyll/Gemfile index 0a5688503cac..460495515a5c 100644 --- a/pkgs/applications/misc/jekyll/Gemfile +++ b/pkgs/applications/misc/jekyll/Gemfile @@ -3,3 +3,4 @@ source "https://rubygems.org" gem 'jekyll' gem 'rdiscount' gem 'RedCloth' +gem 'rouge' diff --git a/pkgs/applications/misc/jekyll/Gemfile.lock b/pkgs/applications/misc/jekyll/Gemfile.lock index ec81bc703c68..234b567711e8 100644 --- a/pkgs/applications/misc/jekyll/Gemfile.lock +++ b/pkgs/applications/misc/jekyll/Gemfile.lock @@ -1,6 +1,7 @@ GEM remote: https://rubygems.org/ specs: + rouge (1.10.1) RedCloth (4.2.9) blankslate (2.1.2.4) celluloid (0.16.0) @@ -71,6 +72,7 @@ PLATFORMS DEPENDENCIES RedCloth jekyll + rouge rdiscount BUNDLED WITH diff --git a/pkgs/applications/misc/jekyll/gemset.nix b/pkgs/applications/misc/jekyll/gemset.nix index f6ad34fcad98..99dc7b31eab2 100644 --- a/pkgs/applications/misc/jekyll/gemset.nix +++ b/pkgs/applications/misc/jekyll/gemset.nix @@ -6,6 +6,13 @@ sha256 = "06pahxyrckhgb7alsxwhhlx1ib2xsx33793finj01jk8i054bkxl"; }; }; + "rouge" = { + version = "1.10.1"; + source = { + type = "gem"; + sha256 = "0wp8as9ypdy18kdj9h70kny1rdfq71mr8cj2bpahr9vxjjvjasqz"; + }; + }; "blankslate" = { version = "2.1.2.4"; source = { @@ -95,6 +102,7 @@ dependencies = [ "classifier-reborn" "colorator" + "rogue" "jekyll-coffeescript" "jekyll-gist" "jekyll-paginate" @@ -286,4 +294,4 @@ sha256 = "0zvvb7i1bl98k3zkdrnx9vasq0rp2cyy5n7p9804dqs4fz9xh9vf"; }; }; -} \ No newline at end of file +}