all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 27935@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#27935] [PATCH 4/8] gnu: Add js-highlight.
Date: Thu,  3 Aug 2017 18:34:34 +0200	[thread overview]
Message-ID: <20170803163438.5742-4-rekado@elephly.net> (raw)
In-Reply-To: <20170803163438.5742-1-rekado@elephly.net>

* gnu/packages/javascript.scm (js-highlight): New variable.
---
 gnu/packages/javascript.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index fdf522474..533e7365a 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -229,3 +229,26 @@ for JavaScript.  It works in (at least) node.js and browsers.  It supports
 localization and timezones.  Most standard specifiers from C are supported as
 well as some other extensions from Ruby.")
     (license license:expat)))
+
+(define-public js-highlight
+  (package
+    (name "js-highlight")
+    (version "9.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/isagalaev/highlight.js/"
+                                  "archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jjn9mj7fwq4zpr6is438bscf03b3q8jkj0k5c3fc6pkmjnhw939"))))
+    (build-system minify-build-system)
+    (arguments
+     `(#:javascript-files '("src/highlight.js")))
+    (home-page "https://github.com/isagalaev/highlight.js")
+    (synopsis "Syntax highlighting for JavaScript")
+    (description "Highlight.js is a syntax highlighter written in JavaScript.
+It works in the browser as well as on the server.  It works with pretty much
+any markup, doesn’t depend on any framework and has automatic language
+detection.")
+    (license license:bsd-3)))
-- 
2.13.3

  parent reply	other threads:[~2017-08-03 16:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-03 16:30 [bug#27935] gnu: Add r-shiny Ricardo Wurmus
2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 2/8] gnu: Add js-json2 Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 3/8] gnu: Add js-strftime Ricardo Wurmus
2017-08-03 16:34   ` Ricardo Wurmus [this message]
2017-08-03 16:34   ` [bug#27935] [PATCH 5/8] gnu: Add js-datatables Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 6/8] gnu: Add js-selectize Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 7/8] gnu: Add js-es5-shim Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 8/8] gnu: Add r-shiny Ricardo Wurmus
2017-08-04  9:27 ` bug#27924: " Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170803163438.5742-4-rekado@elephly.net \
    --to=rekado@elephly.net \
    --cc=27935@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.