diff --git a/pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile b/pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile index 8326fabad510..12c132a81d1c 100644 --- a/pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile +++ b/pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile @@ -7,6 +7,7 @@ gem 'asciidoctor-html5s' gem 'asciidoctor-mathematical' gem 'asciidoctor-multipage' gem 'asciidoctor-pdf' +gem 'asciidoctor-reducer' gem 'asciidoctor-revealjs' gem 'coderay' gem 'pygments.rb' diff --git a/pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile.lock b/pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile.lock index 90081826f702..da7c2fccb1b6 100644 --- a/pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile.lock +++ b/pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile.lock @@ -42,6 +42,8 @@ GEM prawn-table (~> 0.2.0) prawn-templates (~> 0.1.0) treetop (~> 1.6.0) + asciidoctor-reducer (1.0.5) + asciidoctor (~> 2.0) asciidoctor-revealjs (5.0.1) asciidoctor (>= 2.0.0, < 3.0.0) asciimath (2.0.5) @@ -127,6 +129,7 @@ DEPENDENCIES asciidoctor-mathematical asciidoctor-multipage asciidoctor-pdf + asciidoctor-reducer asciidoctor-revealjs coderay pygments.rb diff --git a/pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix b/pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix index 50ee906262ee..ba9c21631a90 100644 --- a/pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix +++ b/pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix @@ -17,6 +17,7 @@ bundlerApp rec { "asciidoctor-epub3" "asciidoctor-multipage" "asciidoctor-pdf" + "asciidoctor-reducer" "asciidoctor-revealjs" ]; diff --git a/pkgs/tools/typesetting/asciidoctor-with-extensions/gemset.nix b/pkgs/tools/typesetting/asciidoctor-with-extensions/gemset.nix index 0a88d0285c45..ac3fb75898fb 100644 --- a/pkgs/tools/typesetting/asciidoctor-with-extensions/gemset.nix +++ b/pkgs/tools/typesetting/asciidoctor-with-extensions/gemset.nix @@ -137,6 +137,17 @@ }; version = "2.3.9"; }; + asciidoctor-reducer = { + dependencies = ["asciidoctor"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1708fi4bxjpkdszm6a4naa0qcsl0vqnhcklryn2sysl24zaz07h5"; + type = "gem"; + }; + version = "1.0.5"; + }; asciidoctor-revealjs = { dependencies = ["asciidoctor"]; groups = ["default"];