diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2024-04-26 18:21:56 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2024-04-27 18:20:11 +0200 |
commit | 73af89d935df5a8166114c9257f9f247f29850bf (patch) | |
tree | c8addfe86575b030ca5a61644dbc77adb8f63c43 /guix/jd/packages/emacs.scm | |
parent | 9ca1ae3ceca5944765af94514e75a96195de5716 (diff) | |
download | dotfiles-73af89d935df5a8166114c9257f9f247f29850bf.tar.gz dotfiles-73af89d935df5a8166114c9257f9f247f29850bf.zip |
Migrate from stumpwm to sway and from manifests to home-services.
Diffstat (limited to 'guix/jd/packages/emacs.scm')
-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"))))))) | ||