Compare commits

...

2 commits

Author SHA1 Message Date
83fb6be873
Fix for annoying multiline issue in zig-mode 2024-09-19 21:36:01 +02:00
2f9a3f2329
Let me introduce myself 2024-09-19 18:50:16 +02:00
3 changed files with 42 additions and 1 deletions

View file

@ -1,7 +1,7 @@
#+begin_src scheme #+begin_src scheme
(channel (channel
(name 'artoria) (name 'artoria)
(url "https://codeberg.org/lynn_sh/artoria.git") (url "https://git.bloodyno.se/lynn/artoria.git")
(branch "main") (branch "main")
(introduction (introduction
(make-channel-introduction (make-channel-introduction

View file

@ -0,0 +1,41 @@
(define-module (artoria packages emacs-xyz)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system emacs)
#:use-module (gnu packages emacs)
#:use-module (gnu packages emacs-xyz)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:))
(define-public emacs-zig-mode
(let ((commit "f55e42536a3f34b81198b856595dc3a61867aa3e")
(revision "0"))
(package
(name "emacs-zig-mode")
(version (git-version "0.0.8" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ziglang/zig-mode")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1s0p6dijg2zdzhw2mpyajwnsx6g28swgzpy63g8yn72718rq31kn"))))
(build-system emacs-build-system)
(inputs (list emacs-reformatter))
(arguments
(list
#:tests? #t
#:emacs emacs
#:test-command #~(list "emacs" "--batch"
"-l" "zig-mode.el"
"-f" "ert-run-tests-batch-and-exit")))
(home-page "https://github.com/ziglang/zig-mode/")
(synopsis "Zig mode for Emacs")
(description
"This package provides syntax highlighting and automatic indentation
for the Zig programming language in Emacs.")
(license license:gpl3+))))