summary refs log tree commit diff
path: root/pkgs/applications/misc/jekyll/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/jekyll/default.nix')
-rw-r--r--pkgs/applications/misc/jekyll/default.nix18
1 files changed, 15 insertions, 3 deletions
diff --git a/pkgs/applications/misc/jekyll/default.nix b/pkgs/applications/misc/jekyll/default.nix
index 765346a8b322..418b4ea466ea 100644
--- a/pkgs/applications/misc/jekyll/default.nix
+++ b/pkgs/applications/misc/jekyll/default.nix
@@ -1,11 +1,15 @@
-{ stdenv, lib, bundlerEnv, ruby
+{ lib, bundlerEnv, ruby
 , withOptionalDependencies ? false
 }:
 
 bundlerEnv rec {
   name = pname + "-" + version;
   pname = "jekyll";
-  version = (import "${gemdir}/gemset.nix").jekyll.version;
+  version = (import
+    (if withOptionalDependencies
+      then ./full/gemset.nix
+      else ./basic/gemset.nix))
+    .jekyll.version;
 
   inherit ruby;
   gemdir = if withOptionalDependencies
@@ -13,7 +17,15 @@ bundlerEnv rec {
     else ./basic;
 
   meta = with lib; {
-    description = "Simple, blog aware, static site generator";
+    description = "A blog-aware, static site generator, written in Ruby";
+    longDescription = ''
+      Jekyll is a simple, blog-aware, static site generator, written in Ruby.
+      Think of it like a file-based CMS, without all the complexity. Jekyll
+      takes your content, renders Markdown and Liquid templates, and spits out a
+      complete, static website ready to be served by Apache, Nginx or another
+      web server. Jekyll is the engine behind GitHub Pages, which you can use to
+      host sites right from your GitHub repositories.
+    '';
     homepage    = https://jekyllrb.com/;
     license     = licenses.mit;
     maintainers = with maintainers; [ primeos pesterhazy ];