mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: Add emacs-git-link.
* gnu/packages/emacs-xyz.scm (emacs-git-link): New variable.
This commit is contained in:
parent
100f3ccb73
commit
914379a503
1 changed files with 25 additions and 0 deletions
|
@ -2420,6 +2420,31 @@ display and behaviour is easily customisable.")
|
|||
window.")
|
||||
(license license:gpl3+))))
|
||||
|
||||
(define-public emacs-git-link
|
||||
(package
|
||||
(name "emacs-git-link")
|
||||
(version "0.7.5")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/sshaw/git-link.git")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "04xa6lp8wkjb6zs096bf4sz124grcjj15xv1h009bmn2j95rggj6"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:tests? #t
|
||||
#:test-command '("make" "test")))
|
||||
(home-page "https://github.com/sshaw/git-link")
|
||||
(synopsis "Create links for files and commits in GitHub/GitLab/etc. repos")
|
||||
(description
|
||||
"@code{git-link} returns the URL for the current buffer's file location
|
||||
at the current line number or active region. @code{git-link-commit} returns
|
||||
the URL for a commit. URLs are added to the kill ring.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public emacs-apheleia
|
||||
(package
|
||||
(name "emacs-apheleia")
|
||||
|
|
Loading…
Add table
Reference in a new issue