guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: Add emacs-csound-mode.


From: guix-commits
Subject: 03/03: gnu: Add emacs-csound-mode.
Date: Fri, 7 Aug 2020 21:26:52 -0400 (EDT)

brettgilio pushed a commit to branch master
in repository guix.

commit 99c5f00b3699b94c114b5447e11a914684cb376e
Author: Brett Gilio <brettg@gnu.org>
AuthorDate: Fri Aug 7 20:26:54 2020 -0500

    gnu: Add emacs-csound-mode.
    
    * gnu/packages/emacs-xyz.scm (emacs-csound-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6e7a57d..6848bce 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24141,6 +24141,41 @@ read-only, constant database that maps Emacs Lisp 
symbols to
 arbitrary Emacs Lisp objects.")
     (license license:gpl3+)))
 
+(define-public emacs-csound-mode
+  (package
+    (name "emacs-csound-mode")
+    (version "0.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hlolli/csound-mode";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1c88ak0jaj51fwiqniqxd7xyk23wjl9m57znzm8j267ld8g12znp"))))
+    (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-breaking-compilation
+           (lambda _
+             (for-each (lambda (file)
+                         (chmod file #o600) ; needed to write changes.
+                         (emacs-batch-disable-compilation file))
+                       '("csound-font-lock.el"))
+             #t)))))
+    (inputs
+     `(("emacs-highlight" ,emacs-highlight)
+       ("emacs-multi" ,emacs-multi)
+       ("emacs-shut-up" ,emacs-shut-up)))
+    (home-page "https://github.com/hlolli/csound-mode";)
+    (synopsis "Emacs major mode for coding in CSound")
+    (description "Provides both a basic major mode for editing
+CSound files, as well as a REPL for fast feedback when composing
+and sonud-designing.")
+    (license license:gpl3+)))
 
 (define-public emacs-multi
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]