* [bug#48956] [PATCH 54/58] gnu: rust-indexmap-1: Update to 1.6.2. [not found] <20210611132345.12382-1-873216071@qq.com> @ 2021-06-11 13:23 ` Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 55/58] gnu: rust-dissimilar-1: Update to 1.0.2 Zheng Junjie ` (3 subsequent siblings) 4 siblings, 0 replies; 5+ messages in thread From: Zheng Junjie @ 2021-06-11 13:23 UTC (permalink / raw) To: 48956; +Cc: Zheng junjie From: Zheng junjie <873216071@qq.com> * gnu/packages/crates-io.scm (rust-indexmap-1): Update to 1.6.2. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3a6d7fd4f7..07317456b1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20915,7 +20915,7 @@ crate.") (define-public rust-indexmap-1 (package (name "rust-indexmap") - (version "1.6.1") + (version "1.6.2") (source (origin (method url-fetch) @@ -20924,7 +20924,7 @@ crate.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0friqyzr4ssyayks7nirqbc36zcsf8fdi67jmvl4vpjh8a9zmcag")))) + "1wxfh55zlrlpdxfcvvvj6wwc46f23cnb0j9q71190yl9pyh4aj42")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs -- 2.32.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#48956] [PATCH 55/58] gnu: rust-dissimilar-1: Update to 1.0.2. [not found] <20210611132345.12382-1-873216071@qq.com> 2021-06-11 13:23 ` [bug#48956] [PATCH 54/58] gnu: rust-indexmap-1: Update to 1.6.2 Zheng Junjie @ 2021-06-11 13:23 ` Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 56/58] gnu: rust-oorandom-11.1: Update to 11.1.3 Zheng Junjie ` (2 subsequent siblings) 4 siblings, 0 replies; 5+ messages in thread From: Zheng Junjie @ 2021-06-11 13:23 UTC (permalink / raw) To: 48956; +Cc: Zheng junjie From: Zheng junjie <873216071@qq.com> * gnu/packages/crates-io.scm (rust-dissimilar-1): Update to 1.0.2. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 07317456b1..9b9d9ba372 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13217,7 +13217,7 @@ Central Dispatch.") (define-public rust-dissimilar-1 (package (name "rust-dissimilar") - (version "1.0.1") + (version "1.0.2") (source (origin (method url-fetch) @@ -13226,7 +13226,7 @@ Central Dispatch.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "154ba92ifmh3js1k0hbmxz7pv95n8wmahlyvhdbnxggbs8f1dpir")))) + "1fwa892hcf7y36b8w41p14b3ld3df389y9jpglkbz55vp7s2jjzw")))) (build-system cargo-build-system) (home-page "https://github.com/dtolnay/dissimilar") (synopsis "Diff library with semantic cleanup") -- 2.32.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#48956] [PATCH 56/58] gnu: rust-oorandom-11.1: Update to 11.1.3. [not found] <20210611132345.12382-1-873216071@qq.com> 2021-06-11 13:23 ` [bug#48956] [PATCH 54/58] gnu: rust-indexmap-1: Update to 1.6.2 Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 55/58] gnu: rust-dissimilar-1: Update to 1.0.2 Zheng Junjie @ 2021-06-11 13:23 ` Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 57/58] gnu: rust-libc-0.2: Update to 0.2.96 Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 58/58] gnu: Add rust-analyzer Zheng Junjie 4 siblings, 0 replies; 5+ messages in thread From: Zheng Junjie @ 2021-06-11 13:23 UTC (permalink / raw) To: 48956; +Cc: Zheng junjie From: Zheng junjie <873216071@qq.com> * gnu/packages/crates-io.scm (rust-oorandom-11.1): Update to 11.1.3. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9b9d9ba372..abb6187269 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28876,7 +28876,7 @@ contents.") (define-public rust-oorandom-11.1 (package (name "rust-oorandom") - (version "11.1.0") + (version "11.1.3") (source (origin (method url-fetch) @@ -28885,7 +28885,7 @@ contents.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "01clxfnz1zwg4maynvbgj09wlkj5m3c8kjqfrp3sqp59qb4wgkpb")))) + "0xdm4vd89aiwnrk1xjwzklnchjqvib4klcihlc2bsd4x50mbrc8a")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t)) (home-page "https://hg.sr.ht/~icefox/oorandom") -- 2.32.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#48956] [PATCH 57/58] gnu: rust-libc-0.2: Update to 0.2.96. [not found] <20210611132345.12382-1-873216071@qq.com> ` (2 preceding siblings ...) 2021-06-11 13:23 ` [bug#48956] [PATCH 56/58] gnu: rust-oorandom-11.1: Update to 11.1.3 Zheng Junjie @ 2021-06-11 13:23 ` Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 58/58] gnu: Add rust-analyzer Zheng Junjie 4 siblings, 0 replies; 5+ messages in thread From: Zheng Junjie @ 2021-06-11 13:23 UTC (permalink / raw) To: 48956; +Cc: Zheng junjie From: Zheng junjie <873216071@qq.com> * gnu/packages/crates-io.scm (rust-libc-0.2): Update to 0.2.96. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index abb6187269..13ad21088d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22913,7 +22913,7 @@ requires non-const function calls to be computed.") (define-public rust-libc-0.2 (package (name "rust-libc") - (version "0.2.86") + (version "0.2.96") (source (origin (method url-fetch) @@ -22921,7 +22921,7 @@ requires non-const function calls to be computed.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "074b38mq1rx3dgg7sf952d4ccywq450zymk7gzn5q9z39f92sa5p")))) + "1z5l4rdk44sx1vaq69x1mbwi5zh75q46p2hkl90ihhn5xzkb802n")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs -- 2.32.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#48956] [PATCH 58/58] gnu: Add rust-analyzer. [not found] <20210611132345.12382-1-873216071@qq.com> ` (3 preceding siblings ...) 2021-06-11 13:23 ` [bug#48956] [PATCH 57/58] gnu: rust-libc-0.2: Update to 0.2.96 Zheng Junjie @ 2021-06-11 13:23 ` Zheng Junjie 4 siblings, 0 replies; 5+ messages in thread From: Zheng Junjie @ 2021-06-11 13:23 UTC (permalink / raw) To: 48956; +Cc: Zheng junjie From: Zheng junjie <873216071@qq.com> * gnu/packages/rust-apps.scm (rust-analyzer): New variable. --- gnu/packages/rust-apps.scm | 131 +++++++++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 0eecd92cf7..720223469a 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -32,6 +32,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cargo) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix packages) #:use-module (gnu packages compression) #:use-module (gnu packages crates-io) @@ -758,6 +759,136 @@ blanks grouped by language.") runs a command whenever it detects modifications.") (license license:asl2.0))) +(define-public rust-analyzer + (package + (name "rust-analyzer") + (version "2021-06-07") + (source + (origin + ;; The crate at "crates.io" is empty. + (method git-fetch) + (uri (git-reference + (url "https://github.com/rust-analyzer/rust-analyzer") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06bc3s5kjwpyr2cq79p0306a9bqp3xp928d750ybby9npq2dvj3z")))) + (build-system cargo-build-system) + (arguments + `(#:rust ,rust-1.52 + #:install-source? #f ; virtual manifest + #:cargo-test-flags + '("--release" "--" + "--skip=tests::test_version_check" ;; It need rustc's version + ;; FIXME: Guix's rust not install source in %out/lib/rustlib/src/rust + ;; so "can't load standard library from sysroot" + "--skip=tests::test_loading_rust_analyzer" + "--skip=tidy::cargo_files_are_tidy" ;; Not need + "--skip=tidy::check_licenses" ;; It run cargo metadata. + "--skip=tidy::check_merge_commits" ;; It run git rev-list. + "--skip=tidy::check_code_formatting" ;; Need rustfmt as cargo fmt + "--skip=tidy::generate_grammar" ;; Same + "--skip=tidy::generate_assists_tests") ;; Same + #:cargo-inputs + (("rust-always-assert" ,rust-always-assert-0.1) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-anymap" ,rust-anymap-0.12) + ("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.13) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chalk-ir" ,rust-chalk-ir-0.68) + ("rust-chalk-recursive" ,rust-chalk-recursive-0.68) + ("rust-chalk-solve" ,rust-chalk-solve-0.68) + ("rust-countme" ,rust-countme-2) + ("rust-cov-mark" ,rust-cov-mark-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-dashmap" ,rust-dashmap-4) + ("rust-dissimilar" ,rust-dissimilar-1) + ("rust-dot" ,rust-dot-0.1) + ("rust-drop-bomb" ,rust-drop-bomb-0.1) + ("rust-either" ,rust-either-1) + ("rust-ena" ,rust-ena-0.14) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-expect-test" ,rust-expect-test-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-fst" ,rust-fst-0.4) + ("rust-home" ,rust-home-0.5) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-jod-thread" ,rust-jod-thread-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-lsp-server" ,rust-lsp-server-0.5) + ("rust-lsp-types" ,rust-lsp-types-0.89) + ("rust-memmap2" ,rust-memmap2-0.2) + ("rust-mimalloc" ,rust-mimalloc-0.1) + ("rust-miow" ,rust-miow-0.3) + ("rust-notify" ,rust-notify-5) + ("rust-object" ,rust-object-0.24) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-oorandom" ,rust-oorandom-11.1) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-perf-event" ,rust-perf-event-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8) + ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-6) + ("rust-quote" ,rust-quote-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rowan" ,rust-rowan-0.13) + ("rust-rustc-ap-rustc-lexer" ,rust-rustc-ap-rustc-lexer-721) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-salsa" ,rust-salsa-0.17) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-smol-str" ,rust-smol-str-0.1) + ("rust-snap" ,rust-snap-1) + ("rust-text-size" ,rust-text-size-1) + ("rust-threadpool" ,rust-threadpool-1) + ("rust-tikv-jemalloc-ctl" ,rust-tikv-jemalloc-ctl-0.4) + ("rust-tikv-jemallocator" ,rust-tikv-jemallocator-0.4) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2) + ("rust-tracing-tree" ,rust-tracing-tree-0.1) + ("rust-ungrammar" ,rust-ungrammar-1) + ("rust-url" ,rust-url-2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-write-json" ,rust-write-json-0.1) + ("rust-xflags" ,rust-xflags-0.2) + ("rust-xshell" ,rust-xshell-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-build-failures + (lambda _ + (chmod ".cargo/config" 420) + #t)) + (add-before 'check 'fix-tests + (lambda* (#:key inputs #:allow-other-keys) + (let ((bash (string-append "#!" (which "bash")))) + (with-directory-excursion "crates/syntax/test_data/lexer/ok" + (substitute* "0010_single_line_comments.txt" + (("SHEBANG 19") + (string-append "SHEBANG " + (number->string (string-length bash)))) + (("#!/usr/bin/env bash") bash)))))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (install-file "target/release/rust-analyzer" + (string-append (assoc-ref outputs "out") + "/bin"))))))) + (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)))) + (define-public rust-cargo-c (package (name "rust-cargo-c") -- 2.32.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-06-11 13:25 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20210611132345.12382-1-873216071@qq.com> 2021-06-11 13:23 ` [bug#48956] [PATCH 54/58] gnu: rust-indexmap-1: Update to 1.6.2 Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 55/58] gnu: rust-dissimilar-1: Update to 1.0.2 Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 56/58] gnu: rust-oorandom-11.1: Update to 11.1.3 Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 57/58] gnu: rust-libc-0.2: Update to 0.2.96 Zheng Junjie 2021-06-11 13:23 ` [bug#48956] [PATCH 58/58] gnu: Add rust-analyzer Zheng Junjie
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).