[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
309/311: gnu: rust-analyzer: Move to rust.scm.
From: |
guix-commits |
Subject: |
309/311: gnu: rust-analyzer: Move to rust.scm. |
Date: |
Sat, 28 Oct 2023 16:39:48 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit efcd2513971ae4b4ed7d7841215e342640b81ad3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Oct 28 16:39:33 2023 +0300
gnu: rust-analyzer: Move to rust.scm.
* gnu/packages/rust-apps.scm (rust-analyzer): Move ...
* gnu/packages/rust.scm (rust-analyzer): ... to here.
Change-Id: I24db3731370f6e798b919409a32abec4a115c913
---
gnu/packages/rust-apps.scm | 28 ----------------------------
gnu/packages/rust.scm | 28 ++++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 1e7006c637..f17db24806 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -44,7 +44,6 @@
(define-module (gnu packages rust-apps)
#:use-module (guix build-system cargo)
#:use-module (guix build-system pyproject)
- #:use-module (guix build-system trivial)
#:use-module (guix deprecation)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -81,7 +80,6 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
- #:use-module (gnu packages rust)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
@@ -1866,32 +1864,6 @@ work. This allows the client to be used in a much
simpler way, with the
background agent taking care of maintaining the necessary state.")
(license license:expat)))
-(define-public rust-analyzer
- (package
- (name "rust-analyzer")
- (version (package-version rust))
- (source #f)
- (build-system trivial-build-system)
- (arguments
- (list
- #:modules '((guix build utils))
- #:builder
- #~(begin
- (use-modules (guix build utils))
- (let ((rust (assoc-ref %build-inputs "rust")))
- (install-file (string-append rust "/bin/rust-analyzer")
- (string-append #$output "/bin"))
- (copy-recursively (string-append rust "/share")
- (string-append #$output "/share"))))))
- (inputs
- (list (list rust "tools")))
- (home-page "https://rust-analyzer.github.io/")
- (synopsis "Experimental Rust compiler front-end for IDEs")
- (description "Rust-analyzer is a modular compiler frontend for the Rust
-language. It is a part of a larger rls-2.0 effort to create excellent IDE
-support for Rust.")
- (license (list license:expat license:asl2.0))))
-
;;; Note: keep in sync with our current Rust/Cargo version.
(define-public rust-cargo-c
(package
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index d72d6b2e51..87bd578e9e 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -55,12 +55,14 @@
#:use-module (gnu packages)
#:use-module (guix build-system cargo)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module ((guix build utils) #:select (alist-replace))
#:use-module (guix utils)
+ #:use-module (guix gexp)
#:use-module (ice-9 match)
#:use-module (srfi srfi-26))
@@ -1037,3 +1039,29 @@ safety and thread safety guarantees.")
(native-inputs (cons* `("gdb" ,gdb/pinned)
`("procps" ,procps)
(package-native-inputs base-rust))))))
+
+(define-public rust-analyzer
+ (package
+ (name "rust-analyzer")
+ (version (package-version rust))
+ (source #f)
+ (build-system trivial-build-system)
+ (arguments
+ (list
+ #:modules '((guix build utils))
+ #:builder
+ #~(begin
+ (use-modules (guix build utils))
+ (let ((rust (assoc-ref %build-inputs "rust")))
+ (install-file (string-append rust "/bin/rust-analyzer")
+ (string-append #$output "/bin"))
+ (copy-recursively (string-append rust "/share")
+ (string-append #$output "/share"))))))
+ (inputs
+ (list (list rust "tools")))
+ (home-page "https://rust-analyzer.github.io/")
+ (synopsis "Experimental Rust compiler front-end for IDEs")
+ (description "Rust-analyzer is a modular compiler frontend for the Rust
+language. It is a part of a larger rls-2.0 effort to create excellent IDE
+support for Rust.")
+ (license (list license:expat license:asl2.0))))
- 281/311: gnu: rust-tectonic-bridge-core-0.3: Update to 0.3.2., (continued)
- 281/311: gnu: rust-tectonic-bridge-core-0.3: Update to 0.3.2., guix-commits, 2023/10/28
- 292/311: gnu: rust-tectonic-engine-bibtex-0.1: Update to 0.1.5., guix-commits, 2023/10/28
- 304/311: gnu: tectonic: Update package., guix-commits, 2023/10/28
- 291/311: gnu: rust-tectonic-docmodel-0.2: Update to 0.2.1., guix-commits, 2023/10/28
- 294/311: gnu: rust-tectonic-engine-xetex-0.4: Update to 0.4.3., guix-commits, 2023/10/28
- 296/311: gnu: rust-tectonic-errors-0.2: Update to 0.2.1., guix-commits, 2023/10/28
- 299/311: gnu: rust-tectonic-io-base-0.3: Update to 0.3.1., guix-commits, 2023/10/28
- 303/311: gnu: rust-tectonic-xetex-layout-0.2: Update to 0.2.3., guix-commits, 2023/10/28
- 307/311: gnu: Remove rust-tectonic-io-base-0.2., guix-commits, 2023/10/28
- 308/311: gnu: Remove rust-tectonic-status-base-0.1., guix-commits, 2023/10/28
- 309/311: gnu: rust-analyzer: Move to rust.scm.,
guix-commits <=
- 310/311: gnu: zoxide: Remove old rust version workaround., guix-commits, 2023/10/28
- 295/311: gnu: rust-tectonic-engine-xdvipdfmx-0.4: Update to 0.4.1., guix-commits, 2023/10/28
- 298/311: gnu: rust-tectonic-io-base-0.4: Update to 0.4.2., guix-commits, 2023/10/28
- 300/311: gnu: rust-tectonic-pdf-io-0.4: Update to 0.4.1., guix-commits, 2023/10/28
- 302/311: gnu: rust-tectonic-xdv-0.2: Update to 0.2.2., guix-commits, 2023/10/28
- 311/311: build: cargo-build-system: Pack crates reproducibly., guix-commits, 2023/10/28
- 90/311: gnu: Add rust-gix-sec-0.8., guix-commits, 2023/10/28
- 274/311: gnu: Remove rust-either-1.6.0., guix-commits, 2023/10/28
- 301/311: gnu: rust-tectonic-status-base-0.2: Update to 0.2.1., guix-commits, 2023/10/28
- 306/311: gnu: Remove rust-tectonic-errors-0.1., guix-commits, 2023/10/28