summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Szarmanski2022-09-25 10:59:53 +0200
committerPiotr Szarmanski2022-09-25 10:59:53 +0200
commit426f1efbc3bffddb8b26cff45ba7fcb246d08b7f (patch)
tree944054bf0acb959e9067a524e9e8c2402a06e86b
parent234601efcc2fcd79ac1638f44612a08bb7b27332 (diff)
Check in the manifest for my Emacs.
-rw-r--r--emacs-manifest.scm65
-rw-r--r--packages.scm39
2 files changed, 104 insertions, 0 deletions
diff --git a/emacs-manifest.scm b/emacs-manifest.scm
new file mode 100644
index 0000000..7280f45
--- /dev/null
+++ b/emacs-manifest.scm
@@ -0,0 +1,65 @@
+;; Manifest for the Emacs profile
+
+(use-modules (gnu packages emacs-xyz)
+ (gnu packages emacs)
+ (gnu packages guile)
+ (gnu packages statistics) ;; for emacs-ess
+ (guix transformations)
+ (guix packages))
+
+;; (define transform
+;; (options->transformation
+;; '((without-tests . "emacs-shx"))))
+(include "packages.scm")
+
+(define my/geiser-guile
+ (package
+ (inherit emacs-geiser-guile)
+ (inputs (list guile-3.0-latest))))
+
+(define rewrite-with-my-geiser
+ (package-input-rewriting `((,emacs-geiser-guile . ,my/geiser-guile)) #:deep? #t))
+
+(define emacs-extensions
+ (map (compose rewrite-with-my-geiser)
+ (list emacs
+ emacs-which-key
+ emacs-swiper
+ emacs-avy
+ emacs-switch-window
+ emacs-ido-vertical-mode
+ emacs-async
+ emacs-page-break-lines
+ emacs-magit
+ emacs-nov-el
+ emacs-visual-fill-column
+ emacs-emms
+ emacs-pinentry
+ emacs-pass
+ emacs-osm
+;; emacs-guix ;; broken
+ emacs-sly
+ my/geiser-guile
+ emacs-ess
+ emacs-corfu
+ emacs-hl-todo
+ emacs-hyperbole
+ emacs-use-package
+ emacs-cider
+ emacs-paredit
+
+ emacs-ef-themes)))
+
+
+
+(define additional-programs
+ (map specification->package
+ '("monolith"
+ "imagemagick"
+ "gnutls"
+ "gnupg")))
+
+(packages->manifest
+ (append emacs-extensions
+ additional-programs))
+
diff --git a/packages.scm b/packages.scm
new file mode 100644
index 0000000..bf39574
--- /dev/null
+++ b/packages.scm
@@ -0,0 +1,39 @@
+(use-modules (guix packages)
+ (guix build-system emacs)
+ (guix download)
+ ((guix licenses) #:prefix license:))
+
+(define emacs-ef-themes
+ (package
+ (name "emacs-ef-themes")
+ (version "0.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://elpa.gnu.org/packages/ef-themes-"
+ version ".tar"))
+ (sha256
+ (base32
+ "1k73q48vg7vyjmnvizinwn9if481ajq63ps2iwb01f1brrhmbf5v"))))
+ (build-system emacs-build-system)
+ (home-page "https://git.sr.ht/~protesilaos/ef-themes")
+ (synopsis "Colorful and legible themes")
+ (description
+ "# Ef (εὖ) themes for GNU Emacs
+
+IMAGES HERE: <https://protesilaos.com/emacs/ef-themes-pictures>.
+
+The `ef-themes` are a collection of light and dark themes for GNU Emacs whose
+goal is to provide colorful (\"pretty\") yet legible options for users who want
+something with a bit more flair than the `modus-themes` (also designed by me).
+Watch the presentation, which demonstrates each of the eight themes in the
+collection: <https://protesilaos.com/codelog/2022-08-18-ef-themes-demo/>.
+
++ Package name (GNU ELPA): `ef-themes` + Official manual:
+<https://protesilaos.com/emacs/ef-themes> + Change log:
+<https://protesilaos.com/emacs/ef-themes-changelog> + Sample pictures:
+<https://protesilaos.com/emacs/ef-themes-pictures> + Git repo on SourceHut:
+<https://git.sr.ht/~protesilaos/ef-themes> - Mirrors: + GitHub:
+<https://github.com/protesilaos/ef-themes> + GitLab:
+<https://gitlab.com/protesilaos/ef-themes> + Mailing list:
+<https://lists.sr.ht/~protesilaos/ef-themes>")
+ (license license:gpl3+)))