Add some more Emacs configuration packages

This commit is contained in:
Tom Willemse 2021-06-12 22:13:38 -07:00
parent d78f2a5ea2
commit 57c0693306
2 changed files with 64 additions and 50 deletions

View file

@ -5,11 +5,11 @@
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages emacs-xyz)) #:use-module (gnu packages emacs-xyz))
(define-public emacs-oni-vterm (define-public emacs-oni-config
(let ((commit "b1c7553275218dd89676a1136a0e0d708acd5bec") (let ((commit "b1c7553275218dd89676a1136a0e0d708acd5bec")
(revision "0")) (revision "0"))
(package (package
(name "emacs-oni-vterm") (name "emacs-oni-config")
(version (git-version "0.0.1" revision commit)) (version (git-version "0.0.1" revision commit))
(source (source
(origin (origin
@ -21,36 +21,50 @@
(sha256 (sha256
(base32 "1977csi34jgvvnsn2bv1rawnw1mqvw2j8i6g9c26l49wp7l63szi")))) (base32 "1977csi34jgvvnsn2bv1rawnw1mqvw2j8i6g9c26l49wp7l63szi"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (home-page "https://sr.ht/~ryuslash/dotfiles/")
'(#:include '("oni-vterm.el"))) (synopsis "My Emacs configuration")
(propagated-inputs (description "This package provides my configuration for emacs")
`(("emacs-vterm" ,emacs-vterm)))
(home-page "https://git.sr.ht/~ryuslash/emacs-config")
(synopsis "My Emacs vterm configuration")
(description "This package provides my configuration for emacs-vterm")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-oni-vterm
(package
(inherit emacs-oni-config)
(name "emacs-oni-vterm")
(arguments
'(#:include '("oni-vterm.el")))
(propagated-inputs
`(("emacs-vterm" ,emacs-vterm)))
(synopsis "My Emacs vterm configuration")
(description "This package provides my configuration for emacs-vterm")))
(define-public emacs-oni-elfeed (define-public emacs-oni-elfeed
(let ((commit "b1c7553275218dd89676a1136a0e0d708acd5bec") (package
(revision "0")) (inherit emacs-oni-config)
(package (name "emacs-oni-elfeed")
(name "emacs-oni-elfeed") (arguments
(version (git-version "0.0.1" revision commit)) '(#:include '("oni-elfeed.el")))
(source (propagated-inputs
(origin `(("emacs-elfeed" ,emacs-elfeed)))
(method git-fetch) (synopsis "My Emacs elfeed configuration")
(uri (git-reference (description "This package provides my configuration for emacs-elfeed")))
(url "https://git.sr.ht/~ryuslash/emacs-config")
(commit commit))) (define-public emacs-oni-alert
(file-name (git-file-name name version)) (package
(sha256 (inherit emacs-oni-config)
(base32 "1977csi34jgvvnsn2bv1rawnw1mqvw2j8i6g9c26l49wp7l63szi")))) (name "emacs-oni-alert")
(build-system emacs-build-system) (arguments
(arguments '(#:include '("oni-alert.el")))
'(#:include '("oni-elfeed.el"))) (propagated-inputs
(propagated-inputs `(("emacs-alert" ,emacs-alert)))
`(("emacs-elfeed" ,emacs-elfeed))) (synopsis "My Emacs alert configuration")
(home-page "https://git.sr.ht/~ryuslash/emacs-config") (description "This package provides my configuration for emacs-alert")))
(synopsis "My Emacs elfeed configuration")
(description "This package provides my configuration for emacs-elfeed") (define-public emacs-oni-bookmark
(license license:gpl3+)))) (package
(inherit emacs-oni-config)
(name "emacs-oni-bookmark")
(arguments
'(#:include '("oni-bookmark.el")))
(synopsis "My Emacs bookmark configuration")
(description "This package provides my configuration for the bookmark library
in Emacs")))

View file

@ -1,4 +1,4 @@
(define-module (oni packages emacs-inkplate) (define-module (oni packages emacs)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix git-download) #:use-module (guix git-download)
@ -9,20 +9,20 @@
(let ((commit "0897721a7b3d84aa3f200ae85fddd5fdd370fc42") (let ((commit "0897721a7b3d84aa3f200ae85fddd5fdd370fc42")
(revision "0")) (revision "0"))
(package (package
(name "emacs-inkplate") (name "emacs-inkplate")
(version (git-version "0.0.1" revision commit)) (version (git-version "0.0.1" revision commit))
(source (source
(origin (origin
(uri (git-reference (uri (git-reference
(url "https://git.sr.ht/~ryuslash/inkplatel") (url "https://git.sr.ht/~ryuslash/inkplatel")
(commit commit))) (commit commit)))
(method git-fetch) (method git-fetch)
(sha256 (sha256
(base32 "0mqnpf4vrzn3013pcwcr9150k4jy4klrdg0pd3amhg2y25054w4s")) (base32 "0mqnpf4vrzn3013pcwcr9150k4jy4klrdg0pd3amhg2y25054w4s"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system emacs-build-system) (build-system emacs-build-system)
(synopsis "Interface for my Inkplate") (synopsis "Interface for my Inkplate")
(description (description
"This package provides a way to communicate with Inkplate in peripheral mode.") "This package provides a way to communicate with Inkplate in peripheral mode.")
(license license:gpl3+) (license license:gpl3+)
(home-page "https://sr.ht/~ryuslash/inkplate/")))) (home-page "https://sr.ht/~ryuslash/inkplate/"))))