diff options
Diffstat (limited to 'guix/jd/packages')
-rw-r--r-- | guix/jd/packages/emacs.scm | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/guix/jd/packages/emacs.scm b/guix/jd/packages/emacs.scm new file mode 100644 index 0000000..0b9b19d --- /dev/null +++ b/guix/jd/packages/emacs.scm | |||
@@ -0,0 +1,57 @@ | |||
1 | (define-module (jd packages emacs) | ||
2 | #:use-module (gnu packages emacs-xyz) | ||
3 | #:use-module (gnu packages) | ||
4 | #:use-module (guix packages) | ||
5 | #:use-module (guix git-download) | ||
6 | #:use-module (guix build-system emacs) | ||
7 | #:use-module ((guix licenses) #:prefix license:) | ||
8 | #:export (emacs-org-roam-ui | ||
9 | emacs-lsp-mode!)) | ||
10 | |||
11 | |||
12 | (define emacs-org-roam-ui | ||
13 | (let ((commit "9474a254390b1e42488a1801fed5826b32a8030b") | ||
14 | (revision "0")) | ||
15 | (package | ||
16 | (name "emacs-org-roam-ui") | ||
17 | (version (git-version "0" revision commit)) | ||
18 | (source (origin | ||
19 | (method git-fetch) | ||
20 | (uri (git-reference | ||
21 | (url "https://github.com/org-roam/org-roam-ui") | ||
22 | (commit commit))) | ||
23 | (file-name (git-file-name name version)) | ||
24 | (sha256 | ||
25 | (base32 | ||
26 | "0v54vxh95izch74wz2dl2dkdqicbvshra55l6qvd4xl5qmfhpjdc")))) | ||
27 | (build-system emacs-build-system) | ||
28 | (arguments | ||
29 | `(#:include (cons "^out" %default-include))) | ||
30 | (propagated-inputs | ||
31 | (list emacs-org-roam emacs-websocket emacs-simple-httpd emacs-f)) | ||
32 | (home-page "https://github.com/org-roam/org-roam-ui") | ||
33 | (synopsis "A graphical frontend for your org-roam Zettelkasten") | ||
34 | (description " Org-Roam-UI is a frontend for exploring and interacting | ||
35 | with your @code{org-roam} notes. It is meant a successor of | ||
36 | @code{org-roam-server} that extends functionality of org-roam with a Web app | ||
37 | that runs side-by-side with Emacs.") | ||
38 | (license license:gpl3+)))) | ||
39 | |||
40 | |||
41 | |||
42 | (define emacs-lsp-mode! | ||
43 | (let ((commit "808c4d0ab9f19bb92c56716cf59df89432b63f5d") | ||
44 | (revision "1")) | ||
45 | (package | ||
46 | (inherit emacs-lsp-mode) | ||
47 | (name "emacs-lsp-mode") | ||
48 | (version (git-version "8.0.1" revision commit)) | ||
49 | (source | ||
50 | (origin | ||
51 | (method git-fetch) | ||
52 | (uri (git-reference | ||
53 | (url "https://github.com/emacs-lsp/lsp-mode") | ||
54 | (commit commit))) | ||
55 | (file-name (git-file-name name version)) | ||
56 | (sha256 | ||
57 | (base32 "0ridjhzndwjj8947vabq05njgnns74hi69x77axgcbv1c4nasz2y"))))))) | ||