GNU bug report logs -
#69551
[PATCH 0/2] gnu: Add emacs-lsp-booster rust app.
Previous Next
Reported by: Suhail <suhail <at> bayesians.ca>
Date: Mon, 4 Mar 2024 19:20:01 UTC
Severity: normal
Tags: patch
Done: Suhail <suhail <at> bayesians.ca>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69551 in the body.
You can then email your comments to 69551 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#69551
; Package
guix-patches
.
(Mon, 04 Mar 2024 19:20:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Suhail <suhail <at> bayesians.ca>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 04 Mar 2024 19:20:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
This series adds the emacs-lsp-booster Rust application as well as one
of its missing dependencies (rust-clap-verbosity-flag-2). I have not
packaged a Rust application in Guix previously, so would appreciate any
comments and feedback.
Cheers
Suhail (2):
gnu: Add rust-clap-verbosity-flag-2.
gnu: Add emacs-lsp-booster.
gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++++++
gnu/packages/rust-apps.scm | 39 ++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
--
2.44.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69551
; Package
guix-patches
.
(Mon, 04 Mar 2024 19:26:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 69551 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-clap-verbosity-flag-2): New variable.
Change-Id: I9fa802d964e71a1618d8d42571ca954c34dbf59e
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aaf2157661..91fd8b8e92 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41,6 +41,7 @@
;;; Copyright © 2023, 2024 Troy Figiel <troy <at> troyfigiel.com>
;;; Copyright © 2024 Herman Rimm <herman <at> rimm.ee>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 Suhail Singh <suhail <at> bayesians.ca>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -11700,6 +11701,33 @@ (define-public rust-clap-mangen-0.1
(("rust-clap" ,rust-clap-3)
("rust-snapbox" ,rust-snapbox-0.2))))))
+(define-public rust-clap-verbosity-flag-2
+ (package
+ (name "rust-clap-verbosity-flag")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clap-verbosity-flag" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0y54kb14nr2vddl5j5h1s4217hbnxfxh7ln8j7lw5r2qvp0216xv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-clap" ,rust-clap-4)
+ ("rust-log" ,rust-log-0.4))
+ #:cargo-development-inputs (("rust-clap" ,rust-clap-4)
+ ("rust-env-logger" ,rust-env-logger-0.11)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-log" ,rust-tracing-log-0.2)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+ (home-page "https://github.com/clap-rs/clap-verbosity-flag")
+ (synopsis "Easily add a `--verbose` flag to CLIs using Clap")
+ (description
+ "This package provides a way to add a `--verbose` flag to CLIs using
+Clap.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-clearscreen-1
(package
(name "rust-clearscreen")
--
2.44.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69551
; Package
guix-patches
.
(Mon, 04 Mar 2024 19:27:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 69551 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/rust-apps.scm (emacs-lsp-booster): New variable.
Change-Id: If89f9941662ed01ddec578b220f69e6370775103
---
gnu/packages/rust-apps.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 01e01ecba3..aa28d25248 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -30,6 +30,7 @@
;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
;;; Copyright © 2024 Herman Rimm <herman <at> rimm.ee>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 Suhail Singh <suhail <at> bayesians.ca>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -71,6 +72,7 @@ (define-module (gnu packages rust-apps)
#:use-module (gnu packages crates-windows)
#:use-module (gnu packages curl)
#:use-module (gnu packages documentation)
+ #:use-module (gnu packages emacs)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages haskell-xyz)
@@ -468,6 +470,43 @@ (define-public dutree
@end enumerate\n")
(license license:gpl3)))
+(define-public emacs-lsp-booster
+ (package
+ (name "emacs-lsp-booster")
+ (version "0.2.0")
+ (home-page "https://github.com/blahgeek/emacs-lsp-booster")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xx32ms3mpi1clxf74mx7nanj0iw9qkmhi0a53fx8fkz0jw2fq8f"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-clap-verbosity-flag" ,rust-clap-verbosity-flag-2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-env-logger" ,rust-env-logger-0.10))
+ #:cargo-development-inputs `(("rust-emacs" ,rust-emacs-0.18)
+ ("rust-tempfile" ,rust-tempfile-3))
+ #:install-source? #f))
+ (native-inputs (list emacs))
+ (synopsis "Emacs LSP performance booster")
+ (description
+ "@code{emacs-lsp-booster} improves the performance of @code{lsp-mode} and
+@code{eglot} Emacs packages using a wrapper executable. See the home-page for
+configuration instructions.")
+ (license license:expat)))
+
(define-public eza
(package
(name "eza")
--
2.44.0
Reply sent
to
Suhail <suhail <at> bayesians.ca>
:
You have taken responsibility.
(Mon, 04 Mar 2024 19:52:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Suhail <suhail <at> bayesians.ca>
:
bug acknowledged by developer.
(Mon, 04 Mar 2024 19:52:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 69551-done <at> debbugs.gnu.org (full text, mbox):
The email-bridge has a bug and email headers got dropped. Will re-open
after I've resolved that. Apologies.
--
Suhail
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 02 Apr 2024 11:24:20 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 79 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.