gnu: Add emacs-opencl-mode.

* gnu/packages/emacs-xyz.scm (emacs-opencl-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Thomas Albers 2022-06-08 00:02:08 +02:00 committed by Nicolas Goaziou
parent 9105c60f0d
commit 1ba8c74de3
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -112,6 +112,7 @@
;;; Copyright © 2022 Dominic Martinez <dom@dominicm.dev>
;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;; Copyright © 2022 Thomas Albers Raviola <thomas@thomaslabs.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -15804,6 +15805,30 @@ (define-public emacs-ws-butler
characters from end of lines.")
(license license:gpl3+)))
(define-public emacs-opencl-mode
;; Upstream never makes any formal releases, there is only v1.0.
;; Use the latest commit instead.
(let ((commit "15091eff92c33ee0d1ece40eb99299ef79fee92d")
(revision "1"))
(package
(name "emacs-opencl-mode")
(version (git-version "1.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/salmanebah/opencl-mode")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1zn6rr48w0ai0sn51zzyp546va6flfgf9lm12vfrdb6kkiiiq403"))))
(build-system emacs-build-system)
(synopsis "Emacs major mode for editing OpenCL kernels")
(description "This Emacs package provides the @code{opencl-mode} major
mode for editing OpenCL kernels. It supports syntax highlighting and online
access to the OpenCL documentation through the @code{opencl-lookup} function.")
(home-page "https://github.com/salmanebah/opencl-mode")
(license license:gpl3+))))
(define-public emacs-openwith
;; There is no release tag. Version is extracted from main file.
(let ((version "20120531")