mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add emacs-cargo-el.
* gnu/packages/emacs-xyz.scm (emacs-cargo-el): New variable. Modified-by: Hilton Chain <hako@ultrarare.space> Change-Id: Ibb632da6a38d020c49897febf92c0506f9455d88 Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
f0ac12fa1a
commit
673b924ac1
1 changed files with 35 additions and 0 deletions
|
@ -254,6 +254,7 @@
|
|||
#:use-module (gnu packages pdf)
|
||||
#:use-module (gnu packages racket)
|
||||
#:use-module (gnu packages ruby)
|
||||
#:use-module (gnu packages rust)
|
||||
#:use-module (gnu packages rust-apps)
|
||||
#:use-module (gnu packages scheme)
|
||||
#:use-module (gnu packages serialization)
|
||||
|
@ -29667,6 +29668,40 @@ In addition to its predecessor, it offers the following features:
|
|||
(license (list license:expat
|
||||
license:asl2.0))))
|
||||
|
||||
(define-public emacs-cargo-el
|
||||
;; No tags since 2017, use latest commit.
|
||||
(let ((commit "7f8466063381eed05d4e222ce822b1dd44e3bf17")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "emacs-cargo-el")
|
||||
(version (git-version "0.4.1" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/kwrooijen/cargo.el")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1hvxdmyppvx04jyn07dnynlgbwyasv22k8dd4qa68mrj8i9mz484"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "cargo-process.el"
|
||||
(("/usr/local/(bin/(cargo|rustc))" _ path)
|
||||
(search-input-file inputs path))))))))
|
||||
(propagated-inputs (list emacs-markdown-mode))
|
||||
(inputs (list rust `(,rust "cargo")))
|
||||
(home-page "https://github.com/kwrooijen/cargo.el")
|
||||
(synopsis "Emacs minor mode for Cargo, Rust's package manager")
|
||||
(description
|
||||
"This package defines @code{cargo-minor-mode}, which gives a set of key
|
||||
combinations to perform Cargo tasks within Rust projects.")
|
||||
(license license:gpl3+))))
|
||||
|
||||
(define-public emacs-ztree
|
||||
;; Upstream provides no tag, but the commit below matches latest release.
|
||||
(let ((commit "c9ad9136d52ca5a81475693864e255d29448f43f"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue