aboutsummaryrefslogtreecommitdiff
path: root/km-packages/emacs.scm
blob: 7a388d9bdb869bec06501ea34d6c3c11be14cc18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
;;; emacs.scm --- custom Guix packages for Emacs
;;;
;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com>
;;;
;;; This file is NOT part of GNU Guix.
;;;
;;; This program is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU General Public License as
;;; published by the Free Software Foundation, either version 3 of the
;;; License, or (at your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;;; General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program.  If not, see
;;; <https://www.gnu.org/licenses/>.

(define-module (km-packages emacs)
  #:use-module (gnu packages)
  #:use-module (gnu packages base)
  #:use-module (gnu packages emacs-xyz)
  #:use-module (guix build-system emacs)
  #:use-module (guix build-system gnu)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages))

(define-public emacs-org-board
  (package
    (name "emacs-org-board")
    (version "1018")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://github.com/scallywag/org-board/archive/"
                    version ".tar.gz"))
              (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
                "1y3pjq5r0385dzz4wxmm3a97aqjfbngrysgl56l26aa293lhxxj0"))))
    (build-system emacs-build-system)
    (home-page "https://github.com/scallywag/org-board")
    (synopsis "TODO")
    (description "TODO")
    (license license:gpl3+)))

(define-public emacs-pandoc
  (package
    (name "emacs-pandoc")
    (version "2.23")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://github.com/joostkremers/pandoc-mode/archive/"
                    version ".tar.gz"))
              (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
                "19kgllhywxim02s69nisr8xs7fgifcj890kdmc2xdizmc7ps65yi"))))
    (build-system emacs-build-system)
    (propagated-inputs
     `(("emacs-dash" ,emacs-dash)
       ("emacs-hydra" ,emacs-hydra)))
    (home-page "https://github.com/joostkremers/writeroom-mode")
    (synopsis "Minor mode for interacting with Pandoc")
    (description "TODO")
    (license license:gpl3+)))

(define-public emacs-stan-mode
  (package
    (name "emacs-stan-mode")
    (version "9.2.0")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://github.com/stan-dev/stan-mode/archive/v"
                    version ".tar.gz"))
              (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
                "075n4y886lb5qvq1rl9kizxb5rypl11ky10akpnxcv005gja4dkq"))))
    (build-system emacs-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         ;; Build server side using 'gnu-build-system'.
         (add-after 'unpack 'enter-lisp-dir
           (lambda _ (chdir "stan-mode") #t)))))
    (home-page "https://github.com/stan-dev/stan-mode")
    (synopsis "Major mode for editing Stan files")
    (description
     "Provides syntax highlighting, indentation, and imenu support for
Stan files.")
    (license license:gpl3+)))

;; TODO: Probably within Guix ledger package, but that was failing
;; when I tried to build it.  Look into.
(define-public emacs-ledger
  (package
    (name "emacs-ledger")
    (version "3.1.1")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://github.com/ledger/ledger-mode/archive/v"
                    version ".tar.gz"))
              (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
                "0x6g808j6xjjxw29k0bfvbx9aagccx6608f6a66y7cxyi6zqf46b"))))
    (build-system emacs-build-system)
    (arguments
     '(#:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
    (home-page "https://github.com/ledger/ledger-mode")
    (synopsis "Major mode for editing Ledger files")
    (description "Major mode for editing Ledger files")
    (license license:gpl2)))

(define-public emacs-ox-gfm
  (package
    (name "emacs-ox-gfm")
    (version "1.0")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://github.com/larstvei/ox-gfm/archive/v"
                    version ".tar.gz"))
              (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
                "0jjznn30bv86a8nh3kqkcilsanplamrvgfji6w0fhwd38ihn2h8l"))))
    (build-system emacs-build-system)
    (home-page "https://github.com/larstvei/ox-gfm")
    (synopsis "Github Flavored Markdown Back-End for Org Export Engine ")
    (description "TODO")
    (license license:gpl3+)))

(define-public emacs-boxquote
  (package
    (name "emacs-boxquote")
    (version "2.1")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/davep/boxquote.el.git")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f61k3sw9zvn6jq60ygi6p66blr52497fadimzcaspa79k9y1cfm"))))
    (build-system emacs-build-system)
    (home-page "https://github.com/davep/boxquote.el")
    (synopsis "Quote text with a semi-block")
    (description "boxquote.el provides a set of functions for using a
text quoting style that partially boxes in the left hand side of an
area of text, such a marking style might be used to show externally
included text or example code.")
    (license license:gpl3+)))