roelj pushed a commit to branch master
in repository guix.

commit fd2d17cdae71eb8bf616d10b9fdbbda6a9d4b644
Author: Roel Janssen <[email protected]>
Date:   Mon Jul 3 13:02:07 2017 +0200

    gnu: Add emacs-sparql-mode.
    
    * gnu/packages/emacs.scm (emacs-sparql-mode): New variable.
---
 gnu/packages/emacs.scm | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 5177c48..a8bf05c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2016 Efraim Flashner <[email protected]>
 ;;; Copyright © 2016 David Thompson <[email protected]>
 ;;; Copyright © 2016 Matthew Jordan <[email protected]>
-;;; Copyright © 2016 Roel Janssen <[email protected]>
+;;; Copyright © 2016, 2017 Roel Janssen <[email protected]>
 ;;; Copyright © 2016, 2017 ng0 <[email protected]>
 ;;; Copyright © 2016 Alex Griffin <[email protected]>
 ;;; Copyright © 2016, 2017 Nicolas Goaziou <[email protected]>
@@ -3025,6 +3025,27 @@ complement basic functions provided by @code{subr.el}.  
All provided functions
 work on lists, strings and vectors.")
     (license license:gpl3+)))
 
+(define-public emacs-sparql-mode
+  (package
+    (name "emacs-sparql-mode")
+    (version "2.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append 
"https://github.com/ljos/sparql-mode/archive/";
+                                  "v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1s93mkllxnhy7fw616cnnc2danacdlarys0g3cn89drh0llh53cv"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ljos/sparql-mode";)
+    (synopsis "SPARQL mode for Emacs")
+    (description "This package provides a major mode for Emacs that provides
+syntax highlighting for SPARQL.  It also provides a way to execute queries
+against a SPARQL HTTP endpoint, such as is provided by Fuseki.  It is also
+possible to query other endpoints like DBPedia.")
+    (license license:gpl3+)))
+
 (define-public emacs-better-defaults
   (package
     (name "emacs-better-defaults")

Reply via email to