Compare commits

...

7 commits

3 changed files with 129 additions and 4 deletions

View file

@ -5,10 +5,43 @@ To use this channel (although I dont see why you would want to) add the follo
#+begin_src scheme #+begin_src scheme
(channel (channel
(name 'oni) (name 'oni)
(url "https://git.sr.ht/~ryuslash/guix-packages") (url "https://code.ryuslash.org/ryuslash/guix-packages.git")
(introduction (introduction
(make-channel-introduction (make-channel-introduction
"646573578b7adfbff415645fed201269076cebf6" "646573578b7adfbff415645fed201269076cebf6"
(openpgp-fingerprint (openpgp-fingerprint
"061C C5C4 D936 C9A8 AECC 1A17 7D5C 407B 4350 25C1")))) "061C C5C4 D936 C9A8 AECC 1A17 7D5C 407B 4350 25C1"))))
#+end_src #+end_src
Or, if you're using Guix Home to configure your user profile, you can do it like this:
#+begin_src scheme
(use-modules ((gnu home services guix)
#:select (home-channels-service-type))
((gnu home)
#:select (home-environment))
((gnu services)
#:select (simple-service))
((guix channels)
#:select (channel
make-channel-introduction
openpgp-fingerprint)))
(home-environment
(services
(list
(simple-service
'my-channel-service
home-channels-service-type
(list
(channel
(name 'oni)
(url "https://code.ryuslash.org/ryuslash/guix-packages.git")
(introduction
(make-channel-introduction
"646573578b7adfbff415645fed201269076cebf6"
(openpgp-fingerprint
"061C C5C4 D936 C9A8 AECC 1A17 7D5C 407B 4350 25C1"))))))))
;; ...
)
#+end_src

View file

@ -20,13 +20,13 @@
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://git.sr.ht/~ryuslash/emacs-config") (url "https://code.ryuslash.org/ryuslash/emacs-config.git")
(commit commit))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "03kn9yf6hknlmyyc4zxdg2hp92bq2kjlzvnlbrb07vfmbnkxyk14")))) (base32 "018lzrzb46s356wr8by8ppmb3y1n5x8mr90ybjmpgwm1mz853pz8"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://sr.ht/~ryuslash/dotfiles/") (home-page "https://code.ryuslash.org/ryuslash/emacs-config")
(synopsis "My Emacs configuration") (synopsis "My Emacs configuration")
(description "This package provides my configuration for emacs") (description "This package provides my configuration for emacs")
(license license:gpl3+)))) (license license:gpl3+))))
@ -491,3 +491,28 @@ Emacs")))
`(("emacs-diff-hl" ,emacs-diff-hl))) `(("emacs-diff-hl" ,emacs-diff-hl)))
(synopsis "My Emacs Diff Highlight configuration") (synopsis "My Emacs Diff Highlight configuration")
(description "This package provides my configuration for Diff Highlight."))) (description "This package provides my configuration for Diff Highlight.")))
(define-public emacs-oni-elisp
(package
(inherit emacs-oni-config)
(name "emacs-oni-elisp")
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-oni-elisp
(lambda _ (chdir "oni-elisp"))))
#:include '("\\.el$" "^snippets\\/")))
(propagated-inputs
`(("emacs-oni-company" ,emacs-oni-company)
("emacs-oni-flycheck" ,emacs-oni-flycheck)
("emacs-oni-paredit" ,emacs-oni-paredit)
("emacs-oni-yasnippet" ,emacs-oni-yasnippet)
("emacs-oni-hydra" ,emacs-oni-hydra)
("emacs-rainbow-delimiters" ,emacs-rainbow-delimiters)
("emacs-nameless" ,emacs-nameless)
("emacs-erefactor" ,emacs-erefactor)
("emacs-flycheck-relint" ,emacs-flycheck-relint)
("emacs-handle" ,emacs-handle)
("emacs-elisp-format" ,emacs-elisp-format)))
(synopsis "My Emacs Lisp configuration")
(description "This package provides my configuration for Emacs Lisp.")))

View file

@ -232,6 +232,73 @@ See function `eldoc-cmake-enable'.
") ")
(license license:gpl3))) (license license:gpl3)))
(define-public emacs-elisp-format
(let ((commit "03cc293eb2f78ec58fc1d84279af06816a04b979")
(revision "0"))
(package
(name "emacs-elisp-format")
(version (git-version "0.0.0" revision commit))
(source
(origin
(uri (git-reference
(url "https://github.com/Yuki-Inoue/elisp-format")
(commit commit)))
(method git-fetch)
(file-name (git-file-name name version))
(sha256
(base32 "17l2xsixx3p93dmx9jsg0a3xqdg19nwp1di2pymlg41pw0kdf3x3"))))
(build-system emacs-build-system)
(home-page "https://github.com/Yuki-Inoue/elisp-format")
(synopsis "Format elisp code")
(description "This package is format by itself, so you can view format effect.")
(license license:gpl3+))))
(define-public emacs-erefactor
(let ((commit "bfe27a1b8c7cac0fe054e76113e941efa3775fe8")
(revision "0"))
(package
(name "emacs-erefactor")
(version (git-version "0.7.2" revision commit))
(source
(origin
(uri (git-reference
(url "https://github.com/mhayashi1120/Emacs-erefactor")
(commit commit)))
(method git-fetch)
(file-name (git-file-name name version))
(sha256
(base32 "1071gqli1qd498syhysyj2wzyw1nya5070m82xd9qalqdh11b8is"))))
(build-system emacs-build-system)
(home-page "https://github.com/mhayashi1120/Emacs-erefactor")
(synopsis "Emacs-Lisp refactoring utilities")
(description "Simple refactoring, linting utilities for Emacs-Lisp.")
(license license:gpl3+))))
(define-public emacs-flycheck-relint
(let ((commit "84b66d364ba583c1d5173a326997d11c6946b463")
(revision "0"))
(package
(name "emacs-flycheck-relint")
(version (git-version "0.6" revision commit))
(source
(origin
(uri (git-reference
(url "https://github.com/purcell/flycheck-relint")
(commit commit)))
(method git-fetch)
(file-name (git-file-name name version))
(sha256
(base32 "04ypamfnfhw7ba6zd1k62xaxq91qbzfxx4n5nld74w2cyv3s645f"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-flycheck" ,emacs-flycheck)
("emacs-relint" ,emacs-relint)))
(home-page "https://github.com/purcell/flycheck-relint")
(synopsis "Flycheck integration for `relint`, which checks regexps in emacs lisp")
(description "This library provides a Flycheck checker for rx and string regular expressions
in Emacs Lisp files, using relint.")
(license license:gpl3+))))
(define-public emacs-outli (define-public emacs-outli
(let ((commit "f16f3ab90c5e4194b62f461e82f01709ae80f6e9") (let ((commit "f16f3ab90c5e4194b62f461e82f01709ae80f6e9")
(revision "0")) (revision "0"))