From unknown Thu Sep 11 18:58:53 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42179] [PATCH] gnu: Add racer. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Jul 2020 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42179 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42179@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15937929265732 (code B ref -1); Fri, 03 Jul 2020 16:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jul 2020 16:15:26 +0000 Received: from localhost ([127.0.0.1]:57412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrOLT-0001UK-Ql for submit@debbugs.gnu.org; Fri, 03 Jul 2020 12:15:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:47570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrOLL-0001U4-Ie for submit@debbugs.gnu.org; Fri, 03 Jul 2020 12:15:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrOLL-0006Oj-7l for guix-patches@gnu.org; Fri, 03 Jul 2020 12:15:15 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:46970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrOLB-0003XV-Cd for guix-patches@gnu.org; Fri, 03 Jul 2020 12:15:14 -0400 Received: by mail-pg1-x52b.google.com with SMTP id d194so11924549pga.13 for ; Fri, 03 Jul 2020 09:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=QV3n7CjrbTg3HFHTOLMQgUFUNcwGpUuhos6ktFxXTtk=; b=jYv6wz4IGm7nw7MG3jAU9o+1ypTbhMPelC9ORynfM9kxHXzn7dqbS+r+G+MTNDxdfE hr+mGq4o/Fan39EaWg1czlxPRpNVDEDv1F56El7TFl+GfHTPGnrzEHXfrZqduDwigcXZ 69EL7AnoKdyean3gkhCyJok+G9V5oqQrAaEoDQne+ZVeROMNAUqLcHS3XwpsH2KbFvLg TXWgsxoznkTV9PedYb0whU1M8WVaUblH+ZTWU/QRa/AO3fzGW0dpgCcVSae1avie7mDR LjkxP0atlPUzLQ0Nm9KaMJNAR8MpzovpuZAqnWR6dQPjBKYb/40WCVjqATyMOz/YC2Xb KgGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=QV3n7CjrbTg3HFHTOLMQgUFUNcwGpUuhos6ktFxXTtk=; b=prt0dgt+mGZtPJc7eSXwbVOEnKrogq7vN+AVywhQsnEj5au1Mw1XcY2qnEIkIsadvw kIJWt6LSHaYEmx99XmXUuLlDoAvB1/G8ZRCOcoY/p9TBkkRQ3RAAfeltY9eo1gCNMAsj 7PoUFb/KZRz31P6bWjmQpmCVx+mjUqaepsCMhjxwKSaLGHUazJR/rtbBMX7yydWRQPoh cM/PBh2Z6fVsPQzpPBM7391/6gS+l26LgzEorOgciUawhYi+drcqcxb/okiRbAS3Ysji Kt2wTq3YJhiNfqwbPQg5cVst6hKZFioYE3WInoViWehGbjd359MqU3BkS/cIa53n1Rv0 HxSg== X-Gm-Message-State: AOAM531i95hJs0F3ElUyzYRgr+TbZ2yFSSeGvtpo2aOf51eKS/5m1v5y IiaJO1NMkpfmNjbo3/2O0IpeIBRIaJw= X-Google-Smtp-Source: ABdhPJy1Si4R9vNB83gghd2L3Aptc++9Y0MOS4e5EOhtb97pSK3AGQM1Y8S6eiVFYiTfYPSc1/D30Q== X-Received: by 2002:a63:7c56:: with SMTP id l22mr28949558pgn.127.1593792902377; Fri, 03 Jul 2020 09:15:02 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::59c]) by smtp.gmail.com with ESMTPSA id a11sm6115837pjw.35.2020.07.03.09.14.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Jul 2020 09:15:00 -0700 (PDT) From: John Soo Date: Fri, 03 Jul 2020 09:14:59 -0700 Message-ID: <87y2o0d18c.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=jsoo1@asu.edu; helo=mail-pg1-x52b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hi Guix, I have been writing a lot of Rust recently. Racer provides autocompletion. It uses the source of rust standard libraries among other tools. There are two items I paid close attention to: 1. Add a "source" output for rust. This roughly corresponds to the rustup component. Using the rustup toolchain to manage rust tooling the command would be: rustup component add rust-src. However, using guix, we already have the source. 2. Racer requires features that are not in the stable branch of rust. Unfortunately this is not any fault of racer. Racer uses crates from rustc which uses unstable features. To get around this, I built racer using the undocumented and unsupported RUSTC_BOOTSTRAP environment variable. Perhaps the better future solution would be to provide a nightly rustc and use that to compile racer. I hope someone gets some use out of racer! - John --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-rust-peg-runtime-0.6.patch >From 5fb577b5c099f655218f0ca02a814231ac724dc6 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 18:51:23 -0700 Subject: [PATCH 01/33] gnu: Add rust-peg-runtime-0.6. * gnu/packages/crates-io.scm (rust-peg-runtime-0.6): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2bd92c0f8e..3624205708 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16051,6 +16051,29 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) +(define-public rust-peg-runtime-0.6 + (package + (name "rust-peg-runtime") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg-runtime" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0r583cq923v0narrpq73qmp780yg4pablzklhrwnr64xwsbjh6hc")))) + (build-system cargo-build-system) + (home-page + "https://github.com/kevinmehall/rust-peg") + (synopsis + "Runtime support for rust-peg grammars") + (description + "PEG provides a Parsing Expression Grammar. This package provides +runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") + (license license:expat))) + (define-public rust-percent-encoding-2.1 (package (name "rust-percent-encoding") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-rust-peg-macros-0.6.patch >From e0c892d70e387d9684c9e836d0ae237c978aeae3 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 18:52:05 -0700 Subject: [PATCH 02/33] gnu: Add rust-peg-macros-0.6. * gnu/packages/crates-io.scm (rust-peg-macros-0.6): New variable. --- 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 3624205708..d6ad6e06f2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16051,6 +16051,34 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) +(define-public rust-peg-macros-0.6 + (package + (name "rust-peg-macros") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg-macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0li8qrb8hyqr7v5mhrkym0xp7ijnbksqviqc2i3556cysdgick62")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-peg-runtime" ,rust-peg-runtime-0.6) + ("rust-proc-macro2" ,rust-proc-macro2-1.0) + ("rust-quote" ,rust-quote-1.0)))) + (home-page + "https://github.com/kevinmehall/rust-peg") + (synopsis + "Procedural macros for rust-peg") + (description + "PEG provides a Parsing Expression Grammar. This package provides +procedural macros for rust-peg. To use rust-peg, see the peg package.") + (license license:expat))) + (define-public rust-peg-runtime-0.6 (package (name "rust-peg-runtime") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-Add-rust-peg-0.6.patch >From 7fce9928182d0682daec8f680444f7e8fdd85b98 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 18:52:31 -0700 Subject: [PATCH 03/33] gnu: Add rust-peg-0.6. * gnu/packages/crates-io.scm (rust-peg-0.6): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d6ad6e06f2..aadb153548 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16051,6 +16051,35 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) +(define-public rust-peg-0.6 + (package + (name "rust-peg") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-peg-macros" ,rust-peg-macros-0.6) + ("rust-peg-runtime" ,rust-peg-runtime-0.6)) + #:cargo-development-inputs + (("rust-trybuild" ,rust-trybuild-1.0)))) + (home-page + "https://github.com/kevinmehall/rust-peg") + (synopsis + "A simple Parsing Expression Grammar (PEG) parser generator") + (description + "PEG provides a simple Parsing Expression Grammar (PEG) parser generator +in Rust.") + (license license:expat))) + (define-public rust-peg-macros-0.6 (package (name "rust-peg-macros") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-gnu-Add-rust-derive-more-0.99.patch >From 494ef6c83f3e7067e4f8f98a4fa11b5f2bbfbe6f Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 18:52:55 -0700 Subject: [PATCH 04/33] gnu: Add rust-derive-more-0.99. * gnu/packages/crates-io.scm (rust-derive-more-0.99): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aadb153548..28dc5b2fcf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5077,6 +5077,45 @@ for arbitrary structs.") (description "Internal helper library for the derive_builder crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-more-0.99 + (package + (name "rust-derive-more") + (version "0.99.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-more" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wfnn4bjw5kmcr4h70kxhsbf8gd9alrw5kd6kmkp9mr0z18m6rdw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1.0) + ("rust-quote" ,rust-quote-1.0) + ("rust-syn" ,rust-syn-1.0)) + #:cargo-development-inputs + (("rust-peg" ,rust-peg-0.6) + ("rust-rustc-version" ,rust-rustc-version-0.2)))) + (home-page + "https://github.com/JelteF/derive_more") + (synopsis + "Adds derive macros for more traits") + (description + "Rust has lots of builtin traits that are implemented for its basic +types, such as @code{Add}, @code{Not}, @code{From} or @code{Display}. +However, when wrapping these types inside your own structs or enums you lose +the implementations of these traits and are required to recreate them. This is +especially annoying when your own structures are very simple, such as when +using the commonly advised newtype pattern (e.g. @code{MyInt(i32)}). + +This library tries to remove these annoyances and the corresponding +boilerplate code. It does this by allowing you to derive lots of commonly used +traits for both structs and enums.") + (license license:expat))) + (define-public rust-derive-new-0.5 (package (name "rust-derive-new") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0005-gnu-Add-rust-rls-span-0.5.patch >From c954bfda57c84286218d6b7a64f2414623515029 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 19:09:07 -0700 Subject: [PATCH 05/33] gnu: Add rust-rls-span-0.5. * gnu/packages/crates-io.scm (rust-rls-span-0.5): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 28dc5b2fcf..1ad1f4c83a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19628,6 +19628,33 @@ uses finite automata and guarantees linear time matching on all inputs.") ;; build dependencies ("rust-cc" ,rust-cc-1.0)))))) +(define-public rust-rls-span-0.5 + (package + (name "rust-rls-span") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rls-span" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0d6rwya5zsyw6vmrj8d8g3fgvic0xyp1lvfhv62vswk2dzavxsgj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0)))) + (home-page "https://github.com/rust-lang/rls") + (synopsis + "Types for identifying code spans/ranges") + (description + "Identify Rust code spans and ranges using these types - for use with the +Rust Language Server.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ron-0.4 (package (name "rust-ron") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0006-gnu-Add-rust-racer-interner-0.1.patch >From a88de62bd3be9dc178adf24923ade090ea7feb0e Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 19:17:04 -0700 Subject: [PATCH 06/33] gnu: Add rust-racer-interner-0.1. * gnu/packages/crates-io.scm (rust-racer-interner-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1ad1f4c83a..edde0a7efd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18287,6 +18287,30 @@ integers, floats, tuples, booleans, lists, strings, options and results.") "0yhnnix4dzsv8y4wwz4csbnqjfh73al33j35msr10py6cl5r4vks")))) (arguments '()))) +(define-public rust-racer-interner-0.1 + (package + (name "rust-racer-interner") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "racer-interner" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k7ssjjcr4kr9r1jbz93rglisfsx1m6fkx3wz6yng5rizm528si0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1.0)))) + (home-page "https://github.com/racer-rust/racer") + (synopsis + "Thread-local string interner for Racer") + (description + "You can intern strings in Rust in a thread-local fashion using this +package. It is mostly used in Racer.") + (license license:expat))) + (define-public rust-rand-0.7 (package (name "rust-rand") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0007-gnu-Add-rust-racer-cargo-metadata-0.1.patch >From 9ed9ca4ed9a284527ae134e53db8dc0482be8caa Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 19:17:27 -0700 Subject: [PATCH 07/33] gnu: Add rust-racer-cargo-metadata-0.1. * gnu/packages/crates-io.scm (rust-racer-cargo-metadata-0.1): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index edde0a7efd..ae05d106c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18287,6 +18287,33 @@ integers, floats, tuples, booleans, lists, strings, options and results.") "0yhnnix4dzsv8y4wwz4csbnqjfh73al33j35msr10py6cl5r4vks")))) (arguments '()))) +(define-public rust-racer-cargo-metadata-0.1 + (package + (name "rust-racer-cargo-metadata") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "racer-cargo-metadata" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vvwbfi991gjbk2k9a7yl7fqc8amvwlf7sa9lsx1sr0s55rcsq1b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-racer-interner" ,rust-racer-interner-0.1) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-json" ,rust-serde-json-1.0)))) + (home-page "https://github.com/racer-rust/racer") + (synopsis + "Lightweight cargo metadata parser for racer") + (description + "You can parse cargo metadata with this Rust crate. It is used mostly in +Racer.") + (license license:expat))) + (define-public rust-racer-interner-0.1 (package (name "rust-racer-interner") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0008-gnu-Add-rust-measureme-0.7.patch >From 637c11eed977257288c0f6b114b0ecac7993afd4 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 19:50:43 -0700 Subject: [PATCH 08/33] gnu: Add rust-measureme-0.7. * gnu/packages/crates-io.scm (rust-measureme-0.7): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae05d106c3..9450589d71 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12890,6 +12890,36 @@ compression function.") (supported-systems '("x86_64-linux" "i686-linux")) (license license:expat))) +(define-public rust-measureme-0.7 + (package + (name "rust-measureme") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "measureme" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cmrrh86b3rvws6d7xp07wfn703yw02cakzirykvn4vh4p9hkxzy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-memmap" ,rust-memmap-0.7) + ("rust-parking-lot" ,rust-parking-lot-0.9) + ("rust-rustc-hash" ,rust-rustc-hash-1.1)))) + (home-page + "https://github.com/rust-lang/measureme") + (synopsis + "Support crate for rustc's self-profiling feature") + (description + "Record rustc compiler events and serializing them to a compact binary +format with this support package. It is integrated into rustc via the +unstable -Z self-profile flag.") + (license (list license:expat license:asl2.0)))) + (define-public rust-memchr-2 (package (name "rust-memchr") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0009-gnu-Add-rust-rustc-ap-rustc-arena-654.0.patch >From 753890c37b3ee532317133fcaf763ec555bc85be Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:13:48 -0700 Subject: [PATCH 09/33] gnu: Add rust-rustc-ap-rustc-arena-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-arena-654.0): New variable. --- 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 9450589d71..c0c7688a1b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20020,6 +20020,34 @@ password hashing function.") "This package provides a sys crate for the rust_hawktracer library.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-arena-654.0 + (package + (name "rust-rustc-ap-arena") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-arena" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18yc4i5m2vf6w8na29i5jv8l4l0yknsf6xn0z2mk7mfz1nxwzpw1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the arena package used in rustc") + (description + "Use the arena library used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0010-gnu-Add-rust-rustc-ap-rustc-macros-654.0.patch >From 01303822da49984fc77e766440bd59d212b65120 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:21:59 -0700 Subject: [PATCH 10/33] gnu: Add rust-rustc-ap-rustc-macros-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-macros-654.0): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c0c7688a1b..e2fdbbcd34 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,35 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-macros-654.0 + (package + (name "rust-rustc-ap-rustc-macros") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03zfp8a10jz43z8lsx1drx7g5jimxmbw4w7hs13yvczismb6qs2r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1.0) + ("rust-quote" ,rust-quote-1.0) + ("rust-syn" ,rust-syn-1.0) + ("rust-synstructure" ,rust-synstructure-0.12)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of rustc macros") + (description + "Use macros used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0011-gnu-Add-rust-rustc-ap-rustc-lexer-654.0.patch >From aac0501ac40b94d48b07f4802ccc48df4a860f35 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:28:43 -0700 Subject: [PATCH 11/33] gnu: Add rust-rustc-ap-rustc-lexer-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-lexer-654.0): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e2fdbbcd34..613e1fe5f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,32 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-lexer-654.0 + (package + (name "rust-rustc-ap-rustc-lexer") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_lexer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19bx2z4gxxzqfjh9m11jp52lgdzz0k5fb0p1ad739bdc5cm4sciv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-unicode-xid" ,rust-unicode-xid-0.2)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of rustc macros") + (description + "Use the lexer used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-macros-654.0 (package (name "rust-rustc-ap-rustc-macros") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0012-gnu-Add-rust-rustc-ap-graphviz-654.0.patch >From aca1871e1cdd2d5aecb1ed215c31bdebd1c56056 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:29:23 -0700 Subject: [PATCH 12/33] gnu: Add rust-rustc-ap-graphviz-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-graphviz-654.0) - New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 613e1fe5f1..c6e9a2c297 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,29 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-graphviz-654.0 + (package + (name "rust-rustc-ap-graphviz") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-graphviz" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z8rs3k9zcd1i2clrnzgvfaq1q05m02wjcyy3d9zk9qln03vp43l")))) + (build-system cargo-build-system) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of the graphviz crate used in rustc") + (description + "Use the graphviz library used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-lexer-654.0 (package (name "rust-rustc-ap-rustc-lexer") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0013-gnu-Add-rust-rustc-rayon-core-0.3.patch >From ef32ef24892b4e1e1c5bd9d01d49a51b5a01f10c Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:43:55 -0700 Subject: [PATCH 13/33] gnu: Add rust-rustc-rayon-core-0.3. * gnu/packages/crates-io.scm (rust-rustc-rayon-core-0.3): New variable. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c6e9a2c297..6a1ad33d87 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20172,6 +20172,41 @@ It is automatically published using the compiler repository at "This package provides a speedy, non-cryptographic hash used in rustc.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-rayon-core-0.3 + (package + (name "rust-rustc-rayon-core") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-rayon-core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cwc50mcclzfmhmi87953fjk6cc9ppmchn9mlwzfllq03y1jf97a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) + ("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-num-cpus" ,rust-num-cpus-1.11)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.1) + ("rust-scoped-tls" ,rust-scoped-tls-1.0)))) + (home-page "https://github.com/rust-lang/rustc-rayon") + (synopsis "Core APIs for Rayon - fork for rustc") + (description + "Note: This package is an unstable fork made for use in rustc + +Rayon-core represents the \"core, stable\" APIs of Rayon: join, scope, and so +forth, as well as the ability to create custom thread-pools with ThreadPool.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rustc-serialize-0.3 (package (name "rust-rustc-serialize") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0014-gnu-Add-rust-rustc-rayon-0.3.patch >From f1fc63c5255e43737ab5cf9ca57923856a542c00 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:47:33 -0700 Subject: [PATCH 14/33] gnu: Add rust-rustc-rayon-0.3. * gnu/packages/crates-io.scm (rust-rustc-rayon-0.3): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6a1ad33d87..111258c583 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20172,6 +20172,44 @@ It is automatically published using the compiler repository at "This package provides a speedy, non-cryptographic hash used in rustc.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-rayon-0.3 + (package + (name "rust-rustc-rayon") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-rayon" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fjvy8bf0hd1zq9d3fdxbdp4z4p1k8jfyx51k5qip3wk1pwnf9zk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7) + ("rust-either" ,rust-either-1.5) + ("rust-rustc-rayon-core" ,rust-rustc-rayon-core-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-docopt" ,rust-docopt-1.1) + ("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.1) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0)))) + (home-page "https://github.com/rust-lang/rustc-rayon") + (synopsis + "Simple work-stealing parallelism for Rust - fork for rustc") + (description + "Rustc-rayon is a fork of the Rayon crate. It adds a few \"in progress\" +features that rustc is using, mostly around deadlock detection. These features +are not stable and should not be used by others -- though they may find their +way into rayon proper at some point. In general, if you are not rustc, you +should be using the real rayon crate, not rustc-rayon.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rustc-rayon-core-0.3 (package (name "rust-rustc-rayon-core") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0015-gnu-Add-rust-rustc-ap-serialize-654.0.patch >From 4d9a7f2bff35bc6b26112b0bd5ebae9ba85a265f Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:52:14 -0700 Subject: [PATCH 15/33] gnu: Add rust-rustc-ap-serialize-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-serialize-654.0): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 111258c583..fefd41af27 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20126,6 +20126,33 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-serialize-654.0 + (package + (name "rust-rustc-ap-serialize") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-serialize" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vwfa3q4f9k0nfryr53jnwmf8vhaq7ijbgw8449nx467dr98yvkm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-indexmap" ,rust-indexmap-1.3) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of the serialize crate used in rustc") + (description + "Use the serialize library used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0016-gnu-Add-rust-rustc-ap-rustc-index-654.0.patch >From 192ba302c2ba2d42ba171c38dbc6b17543af8f64 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:01:36 -0700 Subject: [PATCH 16/33] gnu: Add rust-rustc-ap-rustc-index-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-index-654.0): New variable. --- 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 fefd41af27..84116d52ba 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20071,6 +20071,34 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-index-654.0 + (package + (name "rust-rustc-ap-rustc-index") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_index" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qqnvdn3zbwrn884ziw0nrmi1wqmr9yp8js7whw6y8nzdhz0q8ij")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the types of indexes in rustc") + (description + "Use the types of index used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-lexer-654.0 (package (name "rust-rustc-ap-rustc-lexer") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0017-gnu-Add-rust-rustc-ap-rustc-data-structures-654.0.patch >From 8da15f259218e75636263b4dfcb959b843c82d95 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:03:00 -0700 Subject: [PATCH 17/33] gnu: Add rust-rustc-ap-rustc-data-structures-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-data-structures-654.0): New variable. --- gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 84116d52ba..1bace8188c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,53 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-data-structures-654.0 + (package + (name "rust-rustc-ap-rustc-data-structures") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_data_structures" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fhppy18n1i2iykdihfs05d6s1ivwz882ipc9cpnjcvqcsbhj4yj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7) + ("rust-ena" ,rust-ena-0.13) + ("rust-indexmap" ,rust-indexmap-1.3) + ("rust-jobserver" ,rust-jobserver-0.1) + ("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-measureme" ,rust-measureme-0.7) + ("rust-parking-lot" ,rust-parking-lot-0.10) + ("rust-rustc-ap-graphviz" + ,rust-rustc-ap-graphviz-654.0) + ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-hash" ,rust-rustc-hash-1.1) + ("rust-rustc-rayon" ,rust-rustc-rayon-0.3) + ("rust-rustc-rayon-core" ,rust-rustc-rayon-core-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1.1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of rustc data structures") + (description + "Use data structures used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-graphviz-654.0 (package (name "rust-rustc-ap-graphviz") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0018-gnu-Add-rust-rustc-ap-rustc-span-654.0.patch >From cc142fe59c0f35e3c118e18bce22f05e9f89c314 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:04:45 -0700 Subject: [PATCH 18/33] gnu: Add rust-rustc-ap-rustc-span-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-span-654.0): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1bace8188c..88900ceff6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20228,6 +20228,44 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-span-654.0 + (package + (name "rust-rustc-ap-rustc-span") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_span" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hj23syxxqqmk1y4kdvb0cb0xxi8wy429hhyd27bbmpya1h18j56")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-md-5" ,rust-md-5-0.8) + ("rust-rustc-ap-arena" ,rust-rustc-ap-arena-654.0) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654.0) + ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-scoped-tls" ,rust-scoped-tls-1.0) + ("rust-sha-1" ,rust-sha-1-0.8) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the source code spans used in rustc") + (description + "Use the spans used in the Rust compiler to represent source code with +this crate. It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0019-gnu-Add-rust-rustc-ap-rustc-ast-654.0.patch >From 4194625204a3ebd26846064b69b014236b4ec8d0 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:05:39 -0700 Subject: [PATCH 19/33] gnu: Add rust-rustc-ap-rustc-ast-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-ast-654.0): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 88900ceff6..7d058b1da1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,44 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-ast-654.0 + (package + (name "rust-rustc-ap-rustc-ast") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_ast" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0n4yhkd7x0c3nqyqz99lwjiix7mf1j5xbkn9fj90h4fxp3did7qq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-index" + ,rust-rustc-ap-rustc-index-654.0) + ("rust-rustc-ap-rustc-lexer" ,rust-rustc-ap-rustc-lexer-654.0) + ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0) + ("rust-scoped-tls" ,rust-scoped-tls-1.0) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the Rust ast used in rustc") + (description + "Use the Rust ast used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-data-structures-654.0 (package (name "rust-rustc-ap-rustc-data-structures") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0020-gnu-Add-rust-rustc-ap-rustc-target-654.0.patch >From cf4dc38fabe1d9e0d5f1ec8b829be195c61d4148 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:45:50 -0700 Subject: [PATCH 20/33] gnu: Add rust-rustc-ap-rustc-target-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-target-654.0): New variable. --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7d058b1da1..ccc8d98ade 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20304,6 +20304,40 @@ this crate. It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-target-654.0 + (package + (name "rust-rustc-ap-rustc-target") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_target" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0i579l4jx4ky5wm0ah8zdy6dd6201rii6rv1wc4bi209ixwjikr8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654.0) + ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the compile targets used in rustc") + (description + "Use the compile targets as expressed in the Rust compiler with this +crate. It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0021-gnu-Add-rust-rustc-ap-rustc-ast-pretty-654.0.patch >From 06511d9e6c512748c2672cd619c9ca570fe9fd24 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:49:07 -0700 Subject: [PATCH 21/33] gnu: Add rust-rustc-ap-rustc-ast-pretty-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-ast-pretty-654.0): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ccc8d98ade..d25448a825 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20086,6 +20086,36 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-ast-pretty-654.0 + (package + (name "rust-rustc-ap-rustc-ast-pretty") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc-ast-pretty" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15503m4bi835hrswpjp8xgbapak3azdc2jc7d0vyj85lyyai9ar6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-ast" ,rust-rustc-ap-rustc-ast-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0) + ("rust-rustc-ap-rustc-target" + ,rust-rustc-ap-rustc-target-654.0)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the pretty-printer used in rustc") + (description + "Use the ast pretty-printer used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-data-structures-654.0 (package (name "rust-rustc-ap-rustc-data-structures") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0022-gnu-Add-rust-termize-0.1.patch >From eee6f7d3f8f29fa4d4bdb898ecea2bab90f38db7 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:09:38 -0700 Subject: [PATCH 22/33] gnu: Add rust-termize-0.1. * gnu/packages/crates-io.scm (rust-termize-0.1): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d25448a825..957e346796 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24737,6 +24737,32 @@ bindings are a small wrapper around the raw C functions, which converts integer return values to @code{std::io::Result} to indicate success or failure.") (license license:expat))) +(define-public rust-termize-0.1 + (package + (name "rust-termize") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "termize" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "158j22glm4cw6b2whs8fxpvqwk5132qydxzmj9qcw8s3armvw1hp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/JohnTitor/termize") + (synopsis + "Functions for determining terminal sizes and dimensions") + (description + "This is a Rust library to enable getting terminal sizes and dimensions +This is a fork of @url{https://github.com/clap-rs/term_size-rs}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-test-assembler-0.1 (package (name "rust-test-assembler") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0023-gnu-Add-rust-yansi-term-0.1.patch >From 505e9b9e8e1dcf0849425b24f669c2236fb7e14b Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:16:38 -0700 Subject: [PATCH 23/33] gnu: Add rust-yansi-term-0.1. * gnu/packages/crates-io.scm (rust-yansi-term-0.1): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 957e346796..fe6e7fb348 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28902,6 +28902,39 @@ to XDG Base Directory specification") (("rust-clippy" ,rust-clippy-0.0) ("rust-linked-hash-map" ,rust-linked-hash-map-0.3)))))) +(define-public rust-yansi-term-0.1 + (package + (name "rust-yansi-term") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "yansi-term" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1w8vjlvxba6yvidqdvxddx3crl6z66h39qxj8xi6aqayw2nk0p7y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1.0) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1.0)))) + (home-page + "https://github.com/botika/yansi-term") + (synopsis + "Library for ANSI terminal colours and styles (bold, underline)") + (description + "Yansi-term provices a library for ANSI terminal colours and +styles (bold, underline). It is adapted from +@url{https://github.com/ogham/rust-ansi-term}. It was refactored to support +@code{fmt::Display and FnOnce(&mut fmt::Formatter) -> fmt::Result}") + (license license:expat))) + (define-public rust-zbase32-0.1 (package (name "rust-zbase32") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0024-gnu-Add-rust-annotate-snippets-0.8.patch >From 115dcb66e03b2506d079b3af4a39acbf3c5a527b Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:17:27 -0700 Subject: [PATCH 24/33] gnu: Add rust-annotate-snippets-0.8. * gnu/packages/crates-io.scm (rust-annotate-snippets-0.8): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fe6e7fb348..82e807787a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -426,6 +426,39 @@ shapes, lines and text to buffers.") (description "This package provides the glue for the Android JNI.") (license license:expat))) +(define-public rust-annotate-snippets-0.8 + (package + (name "rust-annotate-snippets") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rbyczndanxj8380i695xaqixsnp3mgy6py0n43acpjf149s13np")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-yansi-term" ,rust-yansi-term-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-difference" ,rust-difference-2.0) + ("rust-glob" ,rust-glob-0.3) + ("rust-serde" ,rust-serde-1.0) + ("rust-toml" ,rust-toml-0.5) + ("rust-yansi-term" ,rust-yansi-term-0.1)))) + (home-page "https://github.com/rust-lang/annotate-snippets-rs") + (synopsis + "Library for building code annotations") + (description + "This library helps visualize meta information annotating source code +slices. It takes a data structure called @code{Snippet} on the input and +produces a @code{String} that underlines the sources of errors and more.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ansi-term-0.12 (package (name "rust-ansi-term") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0025-gnu-Add-rust-annotate-snippets-0.6.patch >From fcbcd8d3f88c79e0a5a52e61370b53aeb0018332 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 18 Jun 2020 15:40:04 -0700 Subject: [PATCH 25/33] gnu: Add rust-annotate-snippets-0.6. * gnu/packages/crates-io.scm (rust-annotate-snippets-0.6): New variable. --- gnu/packages/crates-io.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82e807787a..7b74ac76f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -459,6 +459,21 @@ slices. It takes a data structure called @code{Snippet} on the input and produces a @code{String} that underlines the sources of errors and more.") (license (list license:asl2.0 license:expat)))) +(define-public rust-annotate-snippets-0.6 + (package + (inherit rust-annotate-snippets-0.8) + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name + (string-append + (package-name rust-annotate-snippets-0.8) "-" version ".tar.gz")) + (sha256 + (base32 + "19x7ldklprdgf8pam8b3lfhrxqw5yldcvk5j0bw2agsajbj1q0n7")))))) + (define-public rust-ansi-term-0.12 (package (name "rust-ansi-term") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0026-gnu-Add-rust-ap-rustc-errors-654.0.patch >From 41e0050097d5f7ca80cbff6d49f76dc065fea05b Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:20:18 -0700 Subject: [PATCH 26/33] gnu: Add rust-ap-rustc-errors-654.0. * gnu/packages/crates-io.scm (rust-ap-rustc-errors-654.0): New variable. --- gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7b74ac76f1..83fa59baac 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20211,6 +20211,68 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-errors-654.0 + (package + (name "rust-rustc-ap-rustc-errors") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc-errors" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1030psm9nx3f132dswbkwqahb4hy020bjvdsyj53dfy6hyhix3lh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-annotate-snippets" + ,rust-annotate-snippets-0.6) + ("rust-atty" ,rust-atty-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-ap-rustc-span" + ,rust-rustc-ap-rustc-span-654.0) + ("rust-termcolor" ,rust-termcolor-1.0) + ("rust-termize" ,rust-termize-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the errors used in rustc") + (description + "Use the errors from the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rustc-ap-rustc-fs-util-654.0 + (package + (name "rust-rustc-ap-rustc-fs-util") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_fs_util" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "028yi1gr8khnf05dj0726j574g3jd7bp259154kzqs74wmbi7yg3")))) + (build-system cargo-build-system) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the file system utilities in rustc") + (description + "Use the file system utilities library used in the Rust compiler with +this crate. It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-graphviz-654.0 (package (name "rust-rustc-ap-graphviz") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0027-gnu-Add-rust-rustc-ap-rustc-feature-654.0.patch >From 423b95100fd987c8151886ede6aa28df4f189bdf Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:36:16 -0700 Subject: [PATCH 27/33] gnu: Add rust-rustc-ap-rustc-feature-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-feature-654.0): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 83fa59baac..8c415a7723 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20250,6 +20250,35 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-feature-654.0 + (package + (name "rust-rustc-ap-rustc-feature") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_feature" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xnkfzvf5mmydxmsln5sk8wrp7xpaz45djkiwg1ffv8ff7hm7ywn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the feature gates used in rustc") + (description + "Use the feature gates of Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-fs-util-654.0 (package (name "rust-rustc-ap-rustc-fs-util") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0028-gnu-Add-rust-rustc-ap-rustc-session-654.0.patch >From c95251876afb37d4f9af11e166feaa54c22f5ac1 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:41:37 -0700 Subject: [PATCH 28/33] gnu: Add rust-rustc-ap-rustc-session-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-session-654.0): New variable. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8c415a7723..fb6c6d375c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20435,6 +20435,46 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-session-654.0 + (package + (name "rust-rustc-ap-rustc-session") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_session" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fcmiylyl37aipg5l3ihhk8bggcyvhw7d14jwhz27mw1395ij6ix")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-getopts" ,rust-getopts-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-num-cpus" ,rust-num-cpus-1.11) + ("rust-rustc-ap-rustc-ast" ,rust-rustc-ap-rustc-ast-654.0) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-errors" ,rust-rustc-ap-rustc-errors-654.0) + ("rust-rustc-ap-rustc-feature" ,rust-rustc-ap-rustc-feature-654.0) + ("rust-rustc-ap-rustc-fs-util" + ,rust-rustc-ap-rustc-fs-util-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0) + ("rust-rustc-ap-rustc-target" + ,rust-rustc-ap-rustc-target-654.0)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of compile-time execution in rustc") + (description + "Use the compile-time execution from the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-span-654.0 (package (name "rust-rustc-ap-rustc-span") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0029-gnu-rust-unicode-normalization-0.1-update-to-0.1.11.patch >From df0801b0087b56cd9f946f712e49d429a7501b87 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 18 Jun 2020 15:38:27 -0700 Subject: [PATCH 29/33] gnu: rust-unicode-normalization-0.1: update to 0.1.11. * gnu/packages/crates-io.scm (rust-unicode-normalization-0.1): Update to 0.1.11. --- gnu/packages/crates-io.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fb6c6d375c..47f1644c04 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26555,7 +26555,7 @@ with the Unicode character database.") (define-public rust-unicode-normalization-0.1 (package (name "rust-unicode-normalization") - (version "0.1.9") + (version "0.1.11") (source (origin (method url-fetch) @@ -26563,7 +26563,8 @@ with the Unicode character database.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kviyqg3bmds4p5hgwf9qgihw8xxvq7ljgyrrk7ygxa2k450gj09")))) + (base32 + "1kxxb5ndb5dzyp1flajjdxnbwyjw6ml9xvy0pz7b8srjn9ky4qdm")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0030-gnu-Add-rust-rustc-ap-rustc-parse-654.0.patch >From 6866416569822caf1a0512f69a52c377057a27d5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:45:11 -0700 Subject: [PATCH 30/33] gnu: Add rust-rustc-ap-rustc-parse-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-parse-654.0): New version. --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 47f1644c04..dd6aa3e2a4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20408,6 +20408,50 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-parse-654.0 + (package + (name "rust-rustc-ap-rustc-parse") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc-parse" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0j8zqmx4ijdnq41ng8krzwsr1g2sg4chicddpf3mzv4iql8hryrd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-ast" ,rust-rustc-ap-rustc-ast-654.0) + ("rust-rustc-ap-rustc-ast-pretty" + ,rust-rustc-ap-rustc-ast-pretty-654.0) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-errors" + ,rust-rustc-ap-rustc-errors-654.0) + ("rust-rustc-ap-rustc-feature" + ,rust-rustc-ap-rustc-feature-654.0) + ("rust-rustc-ap-rustc-lexer" + ,rust-rustc-ap-rustc-lexer-654.0) + ("rust-rustc-ap-rustc-session" + ,rust-rustc-ap-rustc-session-654.0) + ("rust-rustc-ap-rustc-span" + ,rust-rustc-ap-rustc-span-654.0) + ("rust-unicode-normalization" + ,rust-unicode-normalization-0.1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the rustc parser") + (description + "Use the parser from the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-serialize-654.0 (package (name "rust-rustc-ap-serialize") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0031-gnu-Add-racer.patch >From e1c6cab65a1501d852c34201f0f2a59d20963614 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:46:23 -0700 Subject: [PATCH 31/33] gnu: Add racer. * gnu/packages/rust-apps.scm (racer): New variable. --- gnu/packages/rust-apps.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 1cf22f4a79..2decea0c9b 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -30,7 +30,10 @@ #:use-module (gnu packages documentation) #:use-module (gnu packages jemalloc) #:use-module (gnu packages pcre) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages ruby) #:use-module (gnu packages tls) #:use-module (gnu packages version-control)) @@ -204,6 +207,60 @@ While it does not seek to mirror all of find's powerful functionality, it provides defaults for 80% of the use cases.") (license (list license:expat license:asl2.0)))) +(define-public racer + (package + (name "racer") + ;; Racer "requires" nightly rustc but 2.1.33 is known to work with 1.44.0 + (version "2.1.33") + (source + (origin + (method url-fetch) + (uri (crate-uri "racer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hiylb0xx15r99y9h5sz98bbg1zki084l96hg46hxwkxdxljncjl")))) + (build-system cargo-build-system) + (inputs + `(("perl" ,perl) + ("python-wrapper" ,python-wrapper) + ("ruby" ,ruby))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-clap" ,rust-clap-2) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-humantime" ,rust-humantime-2) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-log" ,rust-log-0.4) + ("rust-rls-span" ,rust-rls-span-0.5) + ("rust-rustc-ap-rustc-ast" ,rust-rustc-ap-rustc-ast-654.0) + ("rust-rustc-ap-rustc-ast-pretty" ,rust-rustc-ap-rustc-ast-pretty-654.0) + ("rust-rustc-ap-rustc-errors" ,rust-rustc-ap-rustc-errors-654.0) + ("rust-rustc-ap-rustc-data-structures" ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-parse" ,rust-rustc-ap-rustc-parse-654.0) + ("rust-rustc-ap-rustc-session" ,rust-rustc-ap-rustc-session-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0) + ("rust-lazycell" ,rust-lazycell-1.2) + ("rust-racer-cargo-metadata" ,rust-racer-cargo-metadata-0.1)) + #:tests? #f ; FIXME: Test crate causes build problems + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-rustc-bootstrap + (lambda _ (setenv "RUSTC_BOOTSTRAP" "1") #t)) + (add-after 'unpack 'remove-circular-test-dependency + (lambda _ + (substitute* "Cargo.toml" + (("\\[dev-dependencies.racer-testutils\\]") "") + (("version = \"0.1\"") "") + (("path = \"testutils\"") ""))))))) + (home-page "https://github.com/racer-rust/racer") + (synopsis "Code completion for Rust") + (description "Code completion for Rust") + (license license:expat))) + (define-public ripgrep (package (name "ripgrep") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0032-gnu-rust-install-source-output.patch >From e345122f5b48ea034cf2a7359d5b6abd727abee5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 11:18:26 -0700 Subject: [PATCH 32/33] gnu: rust: install "source" output. * gnu/packages/rust.scm (rust-1.19): [arguments] Install source in 'install phase. --- gnu/packages/rust.scm | 78 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 74 insertions(+), 4 deletions(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 90fc67aebb..e85997e57b 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -227,7 +227,7 @@ safety and thread safety guarantees.") (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/llvm") #t)) (patches (map search-patch '("rust-1.19-mrustc.patch"))))) - (outputs '("out" "cargo")) + (outputs '("out" "cargo" "source")) (properties '((timeout . 72000) ;20 hours (max-silent-time . 18000))) ;5 hours (for armel) (arguments @@ -311,6 +311,13 @@ test = { path = \"../libtest\" } (string-append name "\"" ,%cargo-reference-hash "\""))) (generate-all-checksums "src/vendor") #t)) + (add-after 'unpack 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; Install "source" output + (mkdir-p (string-append (assoc-ref outputs "source") "/src")) + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t)) ;; This phase is overridden by newer versions. (replace 'configure (const #t)) @@ -473,7 +480,7 @@ safety and thread safety guarantees.") `(;; The tests fail with newer versions of GNU Make. ("make" ,gnu-make-4.2) ,@(package-native-inputs base-rust))) - (outputs '("out" "doc" "cargo")) + (outputs '("out" "doc" "cargo" "source")) ;; Since rust-1.19 is local, it's quite probable that Hydra ;; will build rust-1.19 only as a dependency of rust-1.20. ;; But then Hydra will use the wrong properties, the ones here, @@ -583,6 +590,13 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" (utime filename 1 1 1 1)) (find-files "." #:directories? #t)) #t)) + (add-after 'reset-timestamps-after-changes 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; Install "source" output + (mkdir-p (string-append (assoc-ref outputs "source") "/src")) + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t)) (replace 'build (lambda* _ (invoke "./x.py" "build") @@ -917,6 +931,21 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" (substitute-keyword-arguments (package-arguments base-rust) ((#:phases phases) `(modify-phases ,phases + (replace 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; Install "source" output, now following symlinks + (mkdir-p (string-append (assoc-ref outputs "source"))) + ;; copy-recursively fails on these symlinks it sees twice + ;; so just copy them directly + (delete-file "src/tools/cargo/src/crates-io/LICENSE-MIT") + (delete-file "src/tools/cargo/src/crates-io/LICENSE-APACHE") + (copy-file "src/tools/cargo/LICENSE-MIT" + "src/tools/cargo/src/crates-io/LICENSE-MIT") + (copy-file "src/tools/cargo/LICENSE-APACHE" + "src/tools/cargo/src/crates-io/LICENSE-APACHE") + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t)) (add-after 'patch-cargo-tests 'patch-cargo-env-shebang (lambda* (#:key inputs #:allow-other-keys) (let ((coreutils (assoc-ref inputs "coreutils"))) @@ -1137,6 +1166,20 @@ move around." (substitute-keyword-arguments (package-arguments base-rust) ((#:phases phases) `(modify-phases ,phases + (replace 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; copy-recursively fails on these symlinks it sees twice + ;; so just copy them directly + (delete-file "src/tools/cargo/crates/crates-io/LICENSE-MIT") + (delete-file "src/tools/cargo/crates/crates-io/LICENSE-APACHE") + (copy-file "src/tools/cargo/LICENSE-MIT" + "src/tools/cargo/crates/crates-io/LICENSE-MIT") + (copy-file "src/tools/cargo/LICENSE-APACHE" + "src/tools/cargo/crates/crates-io/LICENSE-APACHE") + (mkdir-p (string-append (assoc-ref outputs "source") "/src")) + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t)) (add-before 'configure 'configure-cargo-home (lambda _ (let ((cargo-home (string-append (getcwd) "/.cargo"))) @@ -1261,8 +1304,35 @@ move around." "0x9lxs82may6c0iln0b908cxyn1cv7h03n5cmbx3j1bas4qzks6j")) (define-public rust-1.43 - (rust-bootstrapped-package rust-1.42 "1.43.0" - "18akhk0wz1my6y9vhardriy2ysc482z0fnjdcgs9gy59kmnarxkm")) + (let ((base-rust + (rust-bootstrapped-package rust-1.42 "1.43.0" + "18akhk0wz1my6y9vhardriy2ysc482z0fnjdcgs9gy59kmnarxkm"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases p) + `(modify-phases ,p + (replace 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; copy-recursively fails on these symlinks it sees twice + ;; so just copy them directly + (delete-file "src/tools/cargo/crates/crates-io/LICENSE-MIT") + (delete-file "src/tools/cargo/crates/crates-io/LICENSE-APACHE") + (delete-file "src/tools/cargo/crates/cargo-platform/LICENSE-MIT") + (delete-file "src/tools/cargo/crates/cargo-platform/LICENSE-APACHE") + (copy-file "src/tools/cargo/LICENSE-MIT" + "src/tools/cargo/crates/crates-io/LICENSE-MIT") + (copy-file "src/tools/cargo/LICENSE-MIT" + "src/tools/cargo/crates/cargo-platform/LICENSE-MIT") + (copy-file "src/tools/cargo/LICENSE-APACHE" + "src/tools/cargo/crates/crates-io/LICENSE-APACHE") + (copy-file "src/tools/cargo/LICENSE-APACHE" + "src/tools/cargo/crates/cargo-platform/LICENSE-APACHE") + (mkdir-p (string-append (assoc-ref outputs "source") "/src")) + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t))))))))) (define-public rust-1.44 (rust-bootstrapped-package rust-1.43 "1.44.0" -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0033-gnu-emacs-racer-Patch-paths-to-rust-source-and-racer.patch >From 7b9030a45938f0caba0591c4c99e778d45028100 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 23:43:49 -0700 Subject: [PATCH 33/33] gnu: emacs-racer: Patch paths to rust source and racer. * gnu/packages/emacs-xyz.scm (emacs-racer): [arguments] Patch paths to rust source and racer binary in racer.el. --- gnu/packages/emacs-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index aae9eb25fd..f0a1fddb83 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -168,6 +168,8 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages password-utils) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages rust) + #:use-module (gnu packages rust-apps) #:use-module (gnu packages sphinx) #:use-module (gnu packages xdisorg) #:use-module (gnu packages shells) @@ -17375,11 +17377,21 @@ files. It focuses on highlighting the document to improve readability.") #:test-command '("make" "test") #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-rust-src-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "racer.el" + (("/usr/local/src/rust/src") + (string-append (assoc-ref inputs "rust") "/src/src")) + (("/usr/local/bin/racer") + (string-append (assoc-ref inputs "racer") "/bin/racer"))))) (add-before 'check 'fix-makefile (lambda _ (substitute* "Makefile" (("\\$\\{CASK\\} exec ") "")) #t))))) + (inputs + `(("racer" ,racer) + ("rust" ,rust "source"))) (native-inputs `(("emacs-ert-runner" ,emacs-ert-runner) ("emacs-undercover" ,emacs-undercover))) -- 2.26.2 --=-=-=-- From unknown Thu Sep 11 18:58:53 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42179] [PATCH] gnu: Add racer. Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42179 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Soo Cc: 42179@debbugs.gnu.org, efraim@flashner.co.il Received: via spool by 42179-submit@debbugs.gnu.org id=B42179.15945659105033 (code B ref 42179); Sun, 12 Jul 2020 14:59:01 +0000 Received: (at 42179) by debbugs.gnu.org; 12 Jul 2020 14:58:30 +0000 Received: from localhost ([127.0.0.1]:46621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1judR0-0001J7-Lj for submit@debbugs.gnu.org; Sun, 12 Jul 2020 10:58:30 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:52734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1judQy-0001Iw-3S for 42179@debbugs.gnu.org; Sun, 12 Jul 2020 10:58:30 -0400 Received: (qmail 23738 invoked by uid 1009); 12 Jul 2020 16:58:25 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25870. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.05457 secs); 12 Jul 2020 14:58:25 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 12 Jul 2020 16:58:25 +0200 Date: Sun, 12 Jul 2020 16:58:23 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200712145823.xgzgmjiyqcrsg7hc@gravity> References: <87y2o0d18c.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3o6byj64dmuiuxfm" Content-Disposition: inline In-Reply-To: <87y2o0d18c.fsf@asu.edu> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --3o6byj64dmuiuxfm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 03, 2020 at 09:14:59AM -0700, John Soo wrote: > 2. Racer requires features that are not in the stable branch of rust. > Unfortunately this is not any fault of racer. Racer uses crates from > rustc which uses unstable features. To get around this, I built > racer using the undocumented and unsupported RUSTC_BOOTSTRAP environment > variable. Perhaps the better future solution would be to provide a > nightly rustc and use that to compile racer. How about we use the source of rust itself for the rustc-ap packages? That way, updating rustc won't actually ever break because of RUSTC_BOOTSTR= AP, since the use of the unstable features comes from the same source of truth that will actually compile them. Regards, Jakub K=C4=85dzio=C5=82ka --3o6byj64dmuiuxfm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8LJQ8ACgkQ4xWnWEYT FWTAsxAA0hyJBqGreAdCriLpcblMaYP24RVQ/sR+AaqVENkOPAe9IKubvCHOVFw9 +P0nGCktiyDxsNGn5VQM+/H7qyCfhsRb83sbHKFCAV1AMF5zSPRnAFe3Gt4lK0N0 jOiparJBbxXUKiU8KmukBjIzk9lhYMpsfI/tyH0SDr+aSUuMG7jibRdq6pgtm5lR imx2B9hO/IMAbXK2OgXcWGihBeohEuZsvM2EMcKP5Nt+Wa6B9SB/Isu7l4Lvbta/ ZBpasP0M7rEm6nD56zbbFDHRoO3XdNAkevuYRW6lg5a8gCp+7UlGqxWnTgo8xlXG UmG8XQPhTNtAYXpsvZanrazsFYMHmB+UqS3D6qi0I/CHXcqvT1V+Y9CXlQXKQvBQ K0LXBsP4x8SRpABKCt0Q1a0DUPNYIReTQ1+lL1Nx5idqaSangyvh+WlCUVR57m+o M/2xPVEgA4SmHSRSQsGpMjeq2Y5GBAro7hMrwPiG3xRsQAVg73bsj4Dm8UFnNPrR fuy8CnosXzUWw6bpmWzeDqXan5s73gQ9xgMSAtL12KiP/6VlM6x88ZyOINrfhkof xhaHbDZ2WXZmQgl5+ZlvtS/gXm5D4Tg4qcffNtdC2WZ5ke3Z4Pk1Cs3RBcjjBouY VLm7783FZkpPQqT1+LxoGkZOglJiiWnZ8u6VHvBKSUwsedwqX08= =sb6M -----END PGP SIGNATURE----- --3o6byj64dmuiuxfm-- From unknown Thu Sep 11 18:58:53 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42179] [PATCH] gnu: Add racer. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jul 2020 23:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42179 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Cc: 42179@debbugs.gnu.org, efraim@flashner.co.il Received: via spool by 42179-submit@debbugs.gnu.org id=B42179.159520205418996 (code B ref 42179); Sun, 19 Jul 2020 23:41:01 +0000 Received: (at 42179) by debbugs.gnu.org; 19 Jul 2020 23:40:54 +0000 Received: from localhost ([127.0.0.1]:33256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxIvN-0004wJ-Rg for submit@debbugs.gnu.org; Sun, 19 Jul 2020 19:40:54 -0400 Received: from mail-oi1-f182.google.com ([209.85.167.182]:35874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxIvK-0004w5-NQ for 42179@debbugs.gnu.org; Sun, 19 Jul 2020 19:40:52 -0400 Received: by mail-oi1-f182.google.com with SMTP id h17so13056146oie.3 for <42179@debbugs.gnu.org>; Sun, 19 Jul 2020 16:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=+z8KqLqpfN5Nbkt3hpzGM37ii96BdEecHX5W1uAYb3U=; b=x9NVJ/MLsiynGV6qudeI2hgT+mgE8R683uGv83F6bV3er6Oh3cgAl3zZOi75/ntK3p pGL3PzCixtIfMhF/5vEUSJl0HNVQpyudYEFS+STQtoyqxx6q14RRuViYy/iTv1V86SIg knUKlWre3SK4tKEp2f9+q0l8GvJNEBIUhpK63+v1u9VAG7EwJJiU9Vxgow67Odi4KONG RZXlD9SrAz76ALrznWL+kWcDANN3GmsdgGMZSuAyB3o/vm6kGL6SYGOuewV+KQP0IDAn +op4i1ZPGTjtaCmmKt1UaAvWu+WK7RLj2K2IgoEuCM6THe8K+YeYpfBQtvADk2Rb4kUs JXEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=+z8KqLqpfN5Nbkt3hpzGM37ii96BdEecHX5W1uAYb3U=; b=k/IsxpJoHmhhBh/T7o6lYlmK56mPy079VuvfB2HfLKwvPC8GJjtxo761J3Cg9ZeJm7 5s1h0pFzfO0Nn9lLRyWQJkXQBtLPhZw2pT4vUEAvxqLD0J8ZmqVtaCH1prmS25cyYrtC uMZBU1buVxmUEa1I0Nh8+O0ZAVErmSj1uo4V0iqRdpfe9Gf0KNOJI9DyidU6tqmwOwd2 zzE4Pp5s9ahSCRyTM41IMH6y+QxdzUITZt/pJ4Y06ONkY847ynlvgdh0XVj5wzfyBUvQ cIxTLF/dyyI+Gpbyb9Fa38rklWzITuQbIQaF6Q8e8J/6vOON45WWn19cDazXVurqWe68 FfIw== X-Gm-Message-State: AOAM531M1qZAUTPQyEOCXT+fQ9vRMgF7guBhrKSEDuo5zSL6U0T0ALnC 1PR7ED9ppDJ6NJwOxifrdZc8aswDO7Y= X-Google-Smtp-Source: ABdhPJyRJyyIrhlfXLlQWCcjgcvdCg2UnBuUyP2auDAM3NKVXRUZKMRvNrEOdRbJt350jToSNZ68rg== X-Received: by 2002:aca:f184:: with SMTP id p126mr16211999oih.76.1595202045005; Sun, 19 Jul 2020 16:40:45 -0700 (PDT) Received: from ?IPv6:2600:1700:83b0:8bd0:3dbb:da7e:bd23:31b5? ([2600:1700:83b0:8bd0:3dbb:da7e:bd23:31b5]) by smtp.gmail.com with ESMTPSA id p64sm3714273oih.39.2020.07.19.16.40.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jul 2020 16:40:44 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: John Soo Mime-Version: 1.0 (1.0) Date: Sun, 19 Jul 2020 16:40:43 -0700 Message-Id: <54497017-6620-44F4-AA77-A99246651294@asu.edu> References: <20200712145823.xgzgmjiyqcrsg7hc@gravity> In-Reply-To: <20200712145823.xgzgmjiyqcrsg7hc@gravity> X-Mailer: iPhone Mail (17F80) X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Jakub, Sorry I am late to respond.=20 > How about we use the source of rust itself for the rustc-ap packages? > That way, updating rustc won't actually ever break because of RUSTC_BOOTST= RAP, > since the use of the unstable features comes from the same source of > truth that will actually compile them. I like the idea of keeping racer up to date with rust. Do you think making r= acer an output of rust would be good or is a separate package depending on r= ust a better option? Thanks! John= From unknown Thu Sep 11 18:58:53 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42179] [PATCH] gnu: Add racer. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Jan 2021 18:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42179 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Cc: 42179@debbugs.gnu.org, efraim@flashner.co.il Received: via spool by 42179-submit@debbugs.gnu.org id=B42179.16095253074857 (code B ref 42179); Fri, 01 Jan 2021 18:22:01 +0000 Received: (at 42179) by debbugs.gnu.org; 1 Jan 2021 18:21:47 +0000 Received: from localhost ([127.0.0.1]:34801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvP3b-0001GH-5M for submit@debbugs.gnu.org; Fri, 01 Jan 2021 13:21:47 -0500 Received: from mail-pg1-f169.google.com ([209.85.215.169]:40915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvP3a-0001G4-0o for 42179@debbugs.gnu.org; Fri, 01 Jan 2021 13:21:46 -0500 Received: by mail-pg1-f169.google.com with SMTP id 15so14822326pgx.7 for <42179@debbugs.gnu.org>; Fri, 01 Jan 2021 10:21:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=vLcPysOmHq07m7TUO9y14k3N72fcluOBhECdhmTuv+o=; b=JNEWHrpJdCqgSktewV5wl4iPdIfizWFY0oG0nA59TEghwkxzm6e84ofmj3tW/OuORO t4O5nQ4R6xS19Rq6/1RgK1lFuPg0u6f3Pz8huNP60J4V2AtyShVCYf/BJHEcQOtXvi/c pQXb7NaAgRSz1/lh9tUsUUi/0CINxUvS3lRXoOnzItAcimyKKykcEhpbgy/joDjpA6Oc D3JFyWcgkKuiK/cvcQdSB4CHONySd+44q0FHuTwR+P5unjo78fRZ9vaW49cz7k1TBCAY Z8Hi7xe6GS4xP271HhC1xri44pxB+2q4q8N+KppCT5DmLK31N/51LxRjiBf84K7IHs0L ODNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=vLcPysOmHq07m7TUO9y14k3N72fcluOBhECdhmTuv+o=; b=Sl0Ymhi0zE06FXLAh1aXIlcN/DitVstYa3XhwZQ/mQBNHxtua2BYdlrtSGkIxxw3Ve ICHfWA4MGXRxJoZJ6t47dJDvUY3xEA0+89Fvl9vHH+qjb/gY5hzGDMc+sxNC6RzLXh01 mX2CKYyRqgdxRo/iWXPVAeZpYIBJRsI4Sue+0BcONJXqk4iIHWRq/kqLoFZCLIZRUs6v A5hXf53WS470wkTWgRLx01q0f5rXX+DWKpTQFfFtC5I7TXfpMMqawguZTqW+qeDho/i8 e8m9tg+1ED6pKCHvQmadsIcN5TF7KTT2lpjEzpa+CVzU6iiBJp4sr0D0LV9ndU/oABsT Zj+A== X-Gm-Message-State: AOAM531MxR6VZFWcOyvrxhbIQinWNskbbyjH6TPFSpjtBp0BtQm8Soof BleTNTE4UCPHo9jJUHCOugCQbcPtbAbN3Ydz X-Google-Smtp-Source: ABdhPJzmaFEb6dVi0VuyTPzmsGMDqVEKBdiHkCeOmhZA/Kbb/Uf9UPuKE21EeRRysKeqOeothoeWWg== X-Received: by 2002:a63:f249:: with SMTP id d9mr50417544pgk.109.1609525300425; Fri, 01 Jan 2021 10:21:40 -0800 (PST) Received: from ecenter ([2600:1700:83b0:8bd0::7a8]) by smtp.gmail.com with ESMTPSA id j17sm46873448pfh.183.2021.01.01.10.21.39 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Jan 2021 10:21:39 -0800 (PST) From: John Soo References: <20200712145823.xgzgmjiyqcrsg7hc@gravity> <54497017-6620-44F4-AA77-A99246651294@asu.edu> Date: Fri, 01 Jan 2021 10:21:38 -0800 In-Reply-To: <54497017-6620-44F4-AA77-A99246651294@asu.edu> (John Soo's message of "Sun, 19 Jul 2020 16:40:43 -0700") Message-ID: <87tus034ct.fsf_-_@asu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Jakub and Efraim, I agree with Jakub that racer-like packages would be most helpful if provided as an output of rust. There are plenty of other places where this guarantee is not provided like cabal-install. But, since racer is now superceded by rls and rust-analyzer, I am going to close this. Rls and rust-analyzer are both outputs of rust after 1.46 and it has been shown to work for rustfmt already. Thanks again, John From unknown Thu Sep 11 18:58:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: John Soo Subject: bug#42179: closed (Racer is superceded by rls and rust-analyzer) Message-ID: References: <87r1n434am.fsf@asu.edu> <87y2o0d18c.fsf@asu.edu> X-Gnu-PR-Message: they-closed 42179 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42179@debbugs.gnu.org Date: Fri, 01 Jan 2021 18:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1609525442-5077-1" This is a multi-part message in MIME format... ------------=_1609525442-5077-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42179: [PATCH] gnu: Add racer. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42179@debbugs.gnu.org. --=20 42179: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42179 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1609525442-5077-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42179-done) by debbugs.gnu.org; 1 Jan 2021 18:23:05 +0000 Received: from localhost ([127.0.0.1]:34805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvP4r-0001Id-G6 for submit@debbugs.gnu.org; Fri, 01 Jan 2021 13:23:05 -0500 Received: from mail-pf1-f175.google.com ([209.85.210.175]:38103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvP4q-0001Hy-7Y for 42179-done@debbugs.gnu.org; Fri, 01 Jan 2021 13:23:04 -0500 Received: by mail-pf1-f175.google.com with SMTP id d2so12741028pfq.5 for <42179-done@debbugs.gnu.org>; Fri, 01 Jan 2021 10:23:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=sQrqYRM/nyCJKSk1k08momeKzcu53h0utTnUAxrb74IUU4xD0AgkqnT55XWnLqnyVU Tv2YDVIWtEKZMbK2cMkCs3n2S/CHV751L/36Nf8axgiCpZqgqz0cxY7BMaO0A75VWz1n 1DcAj3ARvX7GVCjf9slBY/wRC2G+JxLJTUaWPNKLRuAOSViVJX6RHw4LNiCM9Nci0o79 chQ1IeaVXMeCm8NAJ5Myj7cj46Y8oUBC0gweC9OV64csf2xJg62qveVZPTdJNQPCjLng tIdeSY1raxgrGThHlLHpCprwlan26GLceo/vfKKGiAIUlxPd/FWOkeLT+Hu3ZR90150c MMgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=mOm3ILunp9nGbm7xQHpoqXdEFD7R4/5f/TyOik/zyd94RKRnDjuLv87w/whLNiR6vu pLxjSzl0y0oF/QXlQYlOZDXDaboZtBZ9C1AQpioQbZBmok94mu4mQdFvhGDMAmc9uiIU mCL88MZwWdvS5EYhW8dMYfUYbvYcqheT7XSGE+Df1qblEIvUkEIafNkvbsPazEXCtTje iYmy5At/kBdaWyu2gGfQdxtkTicxkSt7V+b9Wp1rgmODmtdn4f0nXPXyNo/Q1+FLcBsr eK7uy0uojMSDCG/lE4iUzI4+MvAQSPEtevYeIJqZAS7mTborS5oLnjNROIki4M9BEJqU JV7Q== X-Gm-Message-State: AOAM5330NIxueypPy4YFGwjRKF7qBeUj8bAafQ284dNTKtOdFh0bRtKk BTTmr2cQ8gKMKkgox67ijACJX3fcphw/NuaV X-Google-Smtp-Source: ABdhPJxuPci8f58MYo6STKydNhlE29IAnAdUVOkv3W60HXNTNIj/CSo7x+udTTz5X4S50ssxVeOPIg== X-Received: by 2002:a63:804a:: with SMTP id j71mr61033490pgd.307.1609525378364; Fri, 01 Jan 2021 10:22:58 -0800 (PST) Received: from ecenter ([2600:1700:83b0:8bd0::7a8]) by smtp.gmail.com with ESMTPSA id z20sm13345860pjq.16.2021.01.01.10.22.57 for <42179-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Jan 2021 10:22:57 -0800 (PST) From: John Soo To: 42179-done@debbugs.gnu.org Subject: Racer is superceded by rls and rust-analyzer Date: Fri, 01 Jan 2021 10:22:57 -0800 Message-ID: <87r1n434am.fsf@asu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42179-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------------=_1609525442-5077-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Jul 2020 16:15:26 +0000 Received: from localhost ([127.0.0.1]:57412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrOLT-0001UK-Ql for submit@debbugs.gnu.org; Fri, 03 Jul 2020 12:15:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:47570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrOLL-0001U4-Ie for submit@debbugs.gnu.org; Fri, 03 Jul 2020 12:15:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrOLL-0006Oj-7l for guix-patches@gnu.org; Fri, 03 Jul 2020 12:15:15 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:46970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrOLB-0003XV-Cd for guix-patches@gnu.org; Fri, 03 Jul 2020 12:15:14 -0400 Received: by mail-pg1-x52b.google.com with SMTP id d194so11924549pga.13 for ; Fri, 03 Jul 2020 09:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=QV3n7CjrbTg3HFHTOLMQgUFUNcwGpUuhos6ktFxXTtk=; b=jYv6wz4IGm7nw7MG3jAU9o+1ypTbhMPelC9ORynfM9kxHXzn7dqbS+r+G+MTNDxdfE hr+mGq4o/Fan39EaWg1czlxPRpNVDEDv1F56El7TFl+GfHTPGnrzEHXfrZqduDwigcXZ 69EL7AnoKdyean3gkhCyJok+G9V5oqQrAaEoDQne+ZVeROMNAUqLcHS3XwpsH2KbFvLg TXWgsxoznkTV9PedYb0whU1M8WVaUblH+ZTWU/QRa/AO3fzGW0dpgCcVSae1avie7mDR LjkxP0atlPUzLQ0Nm9KaMJNAR8MpzovpuZAqnWR6dQPjBKYb/40WCVjqATyMOz/YC2Xb KgGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=QV3n7CjrbTg3HFHTOLMQgUFUNcwGpUuhos6ktFxXTtk=; b=prt0dgt+mGZtPJc7eSXwbVOEnKrogq7vN+AVywhQsnEj5au1Mw1XcY2qnEIkIsadvw kIJWt6LSHaYEmx99XmXUuLlDoAvB1/G8ZRCOcoY/p9TBkkRQ3RAAfeltY9eo1gCNMAsj 7PoUFb/KZRz31P6bWjmQpmCVx+mjUqaepsCMhjxwKSaLGHUazJR/rtbBMX7yydWRQPoh cM/PBh2Z6fVsPQzpPBM7391/6gS+l26LgzEorOgciUawhYi+drcqcxb/okiRbAS3Ysji Kt2wTq3YJhiNfqwbPQg5cVst6hKZFioYE3WInoViWehGbjd359MqU3BkS/cIa53n1Rv0 HxSg== X-Gm-Message-State: AOAM531i95hJs0F3ElUyzYRgr+TbZ2yFSSeGvtpo2aOf51eKS/5m1v5y IiaJO1NMkpfmNjbo3/2O0IpeIBRIaJw= X-Google-Smtp-Source: ABdhPJy1Si4R9vNB83gghd2L3Aptc++9Y0MOS4e5EOhtb97pSK3AGQM1Y8S6eiVFYiTfYPSc1/D30Q== X-Received: by 2002:a63:7c56:: with SMTP id l22mr28949558pgn.127.1593792902377; Fri, 03 Jul 2020 09:15:02 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::59c]) by smtp.gmail.com with ESMTPSA id a11sm6115837pjw.35.2020.07.03.09.14.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Jul 2020 09:15:00 -0700 (PDT) From: John Soo To: guix-patches@gnu.org Subject: [PATCH] gnu: Add racer. Date: Fri, 03 Jul 2020 09:14:59 -0700 Message-ID: <87y2o0d18c.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=jsoo1@asu.edu; helo=mail-pg1-x52b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hi Guix, I have been writing a lot of Rust recently. Racer provides autocompletion. It uses the source of rust standard libraries among other tools. There are two items I paid close attention to: 1. Add a "source" output for rust. This roughly corresponds to the rustup component. Using the rustup toolchain to manage rust tooling the command would be: rustup component add rust-src. However, using guix, we already have the source. 2. Racer requires features that are not in the stable branch of rust. Unfortunately this is not any fault of racer. Racer uses crates from rustc which uses unstable features. To get around this, I built racer using the undocumented and unsupported RUSTC_BOOTSTRAP environment variable. Perhaps the better future solution would be to provide a nightly rustc and use that to compile racer. I hope someone gets some use out of racer! - John --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-rust-peg-runtime-0.6.patch >From 5fb577b5c099f655218f0ca02a814231ac724dc6 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 18:51:23 -0700 Subject: [PATCH 01/33] gnu: Add rust-peg-runtime-0.6. * gnu/packages/crates-io.scm (rust-peg-runtime-0.6): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2bd92c0f8e..3624205708 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16051,6 +16051,29 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) +(define-public rust-peg-runtime-0.6 + (package + (name "rust-peg-runtime") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg-runtime" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0r583cq923v0narrpq73qmp780yg4pablzklhrwnr64xwsbjh6hc")))) + (build-system cargo-build-system) + (home-page + "https://github.com/kevinmehall/rust-peg") + (synopsis + "Runtime support for rust-peg grammars") + (description + "PEG provides a Parsing Expression Grammar. This package provides +runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") + (license license:expat))) + (define-public rust-percent-encoding-2.1 (package (name "rust-percent-encoding") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-rust-peg-macros-0.6.patch >From e0c892d70e387d9684c9e836d0ae237c978aeae3 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 18:52:05 -0700 Subject: [PATCH 02/33] gnu: Add rust-peg-macros-0.6. * gnu/packages/crates-io.scm (rust-peg-macros-0.6): New variable. --- 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 3624205708..d6ad6e06f2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16051,6 +16051,34 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) +(define-public rust-peg-macros-0.6 + (package + (name "rust-peg-macros") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg-macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0li8qrb8hyqr7v5mhrkym0xp7ijnbksqviqc2i3556cysdgick62")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-peg-runtime" ,rust-peg-runtime-0.6) + ("rust-proc-macro2" ,rust-proc-macro2-1.0) + ("rust-quote" ,rust-quote-1.0)))) + (home-page + "https://github.com/kevinmehall/rust-peg") + (synopsis + "Procedural macros for rust-peg") + (description + "PEG provides a Parsing Expression Grammar. This package provides +procedural macros for rust-peg. To use rust-peg, see the peg package.") + (license license:expat))) + (define-public rust-peg-runtime-0.6 (package (name "rust-peg-runtime") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-Add-rust-peg-0.6.patch >From 7fce9928182d0682daec8f680444f7e8fdd85b98 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 18:52:31 -0700 Subject: [PATCH 03/33] gnu: Add rust-peg-0.6. * gnu/packages/crates-io.scm (rust-peg-0.6): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d6ad6e06f2..aadb153548 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16051,6 +16051,35 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) +(define-public rust-peg-0.6 + (package + (name "rust-peg") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-peg-macros" ,rust-peg-macros-0.6) + ("rust-peg-runtime" ,rust-peg-runtime-0.6)) + #:cargo-development-inputs + (("rust-trybuild" ,rust-trybuild-1.0)))) + (home-page + "https://github.com/kevinmehall/rust-peg") + (synopsis + "A simple Parsing Expression Grammar (PEG) parser generator") + (description + "PEG provides a simple Parsing Expression Grammar (PEG) parser generator +in Rust.") + (license license:expat))) + (define-public rust-peg-macros-0.6 (package (name "rust-peg-macros") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-gnu-Add-rust-derive-more-0.99.patch >From 494ef6c83f3e7067e4f8f98a4fa11b5f2bbfbe6f Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 18:52:55 -0700 Subject: [PATCH 04/33] gnu: Add rust-derive-more-0.99. * gnu/packages/crates-io.scm (rust-derive-more-0.99): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aadb153548..28dc5b2fcf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5077,6 +5077,45 @@ for arbitrary structs.") (description "Internal helper library for the derive_builder crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-more-0.99 + (package + (name "rust-derive-more") + (version "0.99.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-more" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wfnn4bjw5kmcr4h70kxhsbf8gd9alrw5kd6kmkp9mr0z18m6rdw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1.0) + ("rust-quote" ,rust-quote-1.0) + ("rust-syn" ,rust-syn-1.0)) + #:cargo-development-inputs + (("rust-peg" ,rust-peg-0.6) + ("rust-rustc-version" ,rust-rustc-version-0.2)))) + (home-page + "https://github.com/JelteF/derive_more") + (synopsis + "Adds derive macros for more traits") + (description + "Rust has lots of builtin traits that are implemented for its basic +types, such as @code{Add}, @code{Not}, @code{From} or @code{Display}. +However, when wrapping these types inside your own structs or enums you lose +the implementations of these traits and are required to recreate them. This is +especially annoying when your own structures are very simple, such as when +using the commonly advised newtype pattern (e.g. @code{MyInt(i32)}). + +This library tries to remove these annoyances and the corresponding +boilerplate code. It does this by allowing you to derive lots of commonly used +traits for both structs and enums.") + (license license:expat))) + (define-public rust-derive-new-0.5 (package (name "rust-derive-new") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0005-gnu-Add-rust-rls-span-0.5.patch >From c954bfda57c84286218d6b7a64f2414623515029 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 19:09:07 -0700 Subject: [PATCH 05/33] gnu: Add rust-rls-span-0.5. * gnu/packages/crates-io.scm (rust-rls-span-0.5): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 28dc5b2fcf..1ad1f4c83a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19628,6 +19628,33 @@ uses finite automata and guarantees linear time matching on all inputs.") ;; build dependencies ("rust-cc" ,rust-cc-1.0)))))) +(define-public rust-rls-span-0.5 + (package + (name "rust-rls-span") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rls-span" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0d6rwya5zsyw6vmrj8d8g3fgvic0xyp1lvfhv62vswk2dzavxsgj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0)))) + (home-page "https://github.com/rust-lang/rls") + (synopsis + "Types for identifying code spans/ranges") + (description + "Identify Rust code spans and ranges using these types - for use with the +Rust Language Server.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ron-0.4 (package (name "rust-ron") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0006-gnu-Add-rust-racer-interner-0.1.patch >From a88de62bd3be9dc178adf24923ade090ea7feb0e Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 19:17:04 -0700 Subject: [PATCH 06/33] gnu: Add rust-racer-interner-0.1. * gnu/packages/crates-io.scm (rust-racer-interner-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1ad1f4c83a..edde0a7efd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18287,6 +18287,30 @@ integers, floats, tuples, booleans, lists, strings, options and results.") "0yhnnix4dzsv8y4wwz4csbnqjfh73al33j35msr10py6cl5r4vks")))) (arguments '()))) +(define-public rust-racer-interner-0.1 + (package + (name "rust-racer-interner") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "racer-interner" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k7ssjjcr4kr9r1jbz93rglisfsx1m6fkx3wz6yng5rizm528si0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1.0)))) + (home-page "https://github.com/racer-rust/racer") + (synopsis + "Thread-local string interner for Racer") + (description + "You can intern strings in Rust in a thread-local fashion using this +package. It is mostly used in Racer.") + (license license:expat))) + (define-public rust-rand-0.7 (package (name "rust-rand") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0007-gnu-Add-rust-racer-cargo-metadata-0.1.patch >From 9ed9ca4ed9a284527ae134e53db8dc0482be8caa Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 19:17:27 -0700 Subject: [PATCH 07/33] gnu: Add rust-racer-cargo-metadata-0.1. * gnu/packages/crates-io.scm (rust-racer-cargo-metadata-0.1): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index edde0a7efd..ae05d106c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18287,6 +18287,33 @@ integers, floats, tuples, booleans, lists, strings, options and results.") "0yhnnix4dzsv8y4wwz4csbnqjfh73al33j35msr10py6cl5r4vks")))) (arguments '()))) +(define-public rust-racer-cargo-metadata-0.1 + (package + (name "rust-racer-cargo-metadata") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "racer-cargo-metadata" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vvwbfi991gjbk2k9a7yl7fqc8amvwlf7sa9lsx1sr0s55rcsq1b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-racer-interner" ,rust-racer-interner-0.1) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-json" ,rust-serde-json-1.0)))) + (home-page "https://github.com/racer-rust/racer") + (synopsis + "Lightweight cargo metadata parser for racer") + (description + "You can parse cargo metadata with this Rust crate. It is used mostly in +Racer.") + (license license:expat))) + (define-public rust-racer-interner-0.1 (package (name "rust-racer-interner") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0008-gnu-Add-rust-measureme-0.7.patch >From 637c11eed977257288c0f6b114b0ecac7993afd4 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 19:50:43 -0700 Subject: [PATCH 08/33] gnu: Add rust-measureme-0.7. * gnu/packages/crates-io.scm (rust-measureme-0.7): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae05d106c3..9450589d71 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12890,6 +12890,36 @@ compression function.") (supported-systems '("x86_64-linux" "i686-linux")) (license license:expat))) +(define-public rust-measureme-0.7 + (package + (name "rust-measureme") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "measureme" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cmrrh86b3rvws6d7xp07wfn703yw02cakzirykvn4vh4p9hkxzy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-memmap" ,rust-memmap-0.7) + ("rust-parking-lot" ,rust-parking-lot-0.9) + ("rust-rustc-hash" ,rust-rustc-hash-1.1)))) + (home-page + "https://github.com/rust-lang/measureme") + (synopsis + "Support crate for rustc's self-profiling feature") + (description + "Record rustc compiler events and serializing them to a compact binary +format with this support package. It is integrated into rustc via the +unstable -Z self-profile flag.") + (license (list license:expat license:asl2.0)))) + (define-public rust-memchr-2 (package (name "rust-memchr") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0009-gnu-Add-rust-rustc-ap-rustc-arena-654.0.patch >From 753890c37b3ee532317133fcaf763ec555bc85be Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:13:48 -0700 Subject: [PATCH 09/33] gnu: Add rust-rustc-ap-rustc-arena-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-arena-654.0): New variable. --- 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 9450589d71..c0c7688a1b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20020,6 +20020,34 @@ password hashing function.") "This package provides a sys crate for the rust_hawktracer library.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-arena-654.0 + (package + (name "rust-rustc-ap-arena") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-arena" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18yc4i5m2vf6w8na29i5jv8l4l0yknsf6xn0z2mk7mfz1nxwzpw1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the arena package used in rustc") + (description + "Use the arena library used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0010-gnu-Add-rust-rustc-ap-rustc-macros-654.0.patch >From 01303822da49984fc77e766440bd59d212b65120 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:21:59 -0700 Subject: [PATCH 10/33] gnu: Add rust-rustc-ap-rustc-macros-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-macros-654.0): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c0c7688a1b..e2fdbbcd34 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,35 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-macros-654.0 + (package + (name "rust-rustc-ap-rustc-macros") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03zfp8a10jz43z8lsx1drx7g5jimxmbw4w7hs13yvczismb6qs2r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1.0) + ("rust-quote" ,rust-quote-1.0) + ("rust-syn" ,rust-syn-1.0) + ("rust-synstructure" ,rust-synstructure-0.12)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of rustc macros") + (description + "Use macros used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0011-gnu-Add-rust-rustc-ap-rustc-lexer-654.0.patch >From aac0501ac40b94d48b07f4802ccc48df4a860f35 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:28:43 -0700 Subject: [PATCH 11/33] gnu: Add rust-rustc-ap-rustc-lexer-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-lexer-654.0): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e2fdbbcd34..613e1fe5f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,32 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-lexer-654.0 + (package + (name "rust-rustc-ap-rustc-lexer") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_lexer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19bx2z4gxxzqfjh9m11jp52lgdzz0k5fb0p1ad739bdc5cm4sciv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-unicode-xid" ,rust-unicode-xid-0.2)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of rustc macros") + (description + "Use the lexer used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-macros-654.0 (package (name "rust-rustc-ap-rustc-macros") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0012-gnu-Add-rust-rustc-ap-graphviz-654.0.patch >From aca1871e1cdd2d5aecb1ed215c31bdebd1c56056 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:29:23 -0700 Subject: [PATCH 12/33] gnu: Add rust-rustc-ap-graphviz-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-graphviz-654.0) - New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 613e1fe5f1..c6e9a2c297 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,29 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-graphviz-654.0 + (package + (name "rust-rustc-ap-graphviz") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-graphviz" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z8rs3k9zcd1i2clrnzgvfaq1q05m02wjcyy3d9zk9qln03vp43l")))) + (build-system cargo-build-system) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of the graphviz crate used in rustc") + (description + "Use the graphviz library used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-lexer-654.0 (package (name "rust-rustc-ap-rustc-lexer") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0013-gnu-Add-rust-rustc-rayon-core-0.3.patch >From ef32ef24892b4e1e1c5bd9d01d49a51b5a01f10c Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:43:55 -0700 Subject: [PATCH 13/33] gnu: Add rust-rustc-rayon-core-0.3. * gnu/packages/crates-io.scm (rust-rustc-rayon-core-0.3): New variable. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c6e9a2c297..6a1ad33d87 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20172,6 +20172,41 @@ It is automatically published using the compiler repository at "This package provides a speedy, non-cryptographic hash used in rustc.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-rayon-core-0.3 + (package + (name "rust-rustc-rayon-core") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-rayon-core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cwc50mcclzfmhmi87953fjk6cc9ppmchn9mlwzfllq03y1jf97a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) + ("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-num-cpus" ,rust-num-cpus-1.11)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.1) + ("rust-scoped-tls" ,rust-scoped-tls-1.0)))) + (home-page "https://github.com/rust-lang/rustc-rayon") + (synopsis "Core APIs for Rayon - fork for rustc") + (description + "Note: This package is an unstable fork made for use in rustc + +Rayon-core represents the \"core, stable\" APIs of Rayon: join, scope, and so +forth, as well as the ability to create custom thread-pools with ThreadPool.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rustc-serialize-0.3 (package (name "rust-rustc-serialize") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0014-gnu-Add-rust-rustc-rayon-0.3.patch >From f1fc63c5255e43737ab5cf9ca57923856a542c00 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:47:33 -0700 Subject: [PATCH 14/33] gnu: Add rust-rustc-rayon-0.3. * gnu/packages/crates-io.scm (rust-rustc-rayon-0.3): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6a1ad33d87..111258c583 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20172,6 +20172,44 @@ It is automatically published using the compiler repository at "This package provides a speedy, non-cryptographic hash used in rustc.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-rayon-0.3 + (package + (name "rust-rustc-rayon") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-rayon" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fjvy8bf0hd1zq9d3fdxbdp4z4p1k8jfyx51k5qip3wk1pwnf9zk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7) + ("rust-either" ,rust-either-1.5) + ("rust-rustc-rayon-core" ,rust-rustc-rayon-core-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-docopt" ,rust-docopt-1.1) + ("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.1) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0)))) + (home-page "https://github.com/rust-lang/rustc-rayon") + (synopsis + "Simple work-stealing parallelism for Rust - fork for rustc") + (description + "Rustc-rayon is a fork of the Rayon crate. It adds a few \"in progress\" +features that rustc is using, mostly around deadlock detection. These features +are not stable and should not be used by others -- though they may find their +way into rayon proper at some point. In general, if you are not rustc, you +should be using the real rayon crate, not rustc-rayon.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rustc-rayon-core-0.3 (package (name "rust-rustc-rayon-core") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0015-gnu-Add-rust-rustc-ap-serialize-654.0.patch >From 4d9a7f2bff35bc6b26112b0bd5ebae9ba85a265f Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 20:52:14 -0700 Subject: [PATCH 15/33] gnu: Add rust-rustc-ap-serialize-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-serialize-654.0): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 111258c583..fefd41af27 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20126,6 +20126,33 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-serialize-654.0 + (package + (name "rust-rustc-ap-serialize") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-serialize" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vwfa3q4f9k0nfryr53jnwmf8vhaq7ijbgw8449nx467dr98yvkm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-indexmap" ,rust-indexmap-1.3) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of the serialize crate used in rustc") + (description + "Use the serialize library used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0016-gnu-Add-rust-rustc-ap-rustc-index-654.0.patch >From 192ba302c2ba2d42ba171c38dbc6b17543af8f64 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:01:36 -0700 Subject: [PATCH 16/33] gnu: Add rust-rustc-ap-rustc-index-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-index-654.0): New variable. --- 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 fefd41af27..84116d52ba 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20071,6 +20071,34 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-index-654.0 + (package + (name "rust-rustc-ap-rustc-index") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_index" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qqnvdn3zbwrn884ziw0nrmi1wqmr9yp8js7whw6y8nzdhz0q8ij")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the types of indexes in rustc") + (description + "Use the types of index used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-lexer-654.0 (package (name "rust-rustc-ap-rustc-lexer") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0017-gnu-Add-rust-rustc-ap-rustc-data-structures-654.0.patch >From 8da15f259218e75636263b4dfcb959b843c82d95 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:03:00 -0700 Subject: [PATCH 17/33] gnu: Add rust-rustc-ap-rustc-data-structures-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-data-structures-654.0): New variable. --- gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 84116d52ba..1bace8188c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,53 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-data-structures-654.0 + (package + (name "rust-rustc-ap-rustc-data-structures") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_data_structures" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fhppy18n1i2iykdihfs05d6s1ivwz882ipc9cpnjcvqcsbhj4yj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7) + ("rust-ena" ,rust-ena-0.13) + ("rust-indexmap" ,rust-indexmap-1.3) + ("rust-jobserver" ,rust-jobserver-0.1) + ("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-measureme" ,rust-measureme-0.7) + ("rust-parking-lot" ,rust-parking-lot-0.10) + ("rust-rustc-ap-graphviz" + ,rust-rustc-ap-graphviz-654.0) + ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-hash" ,rust-rustc-hash-1.1) + ("rust-rustc-rayon" ,rust-rustc-rayon-0.3) + ("rust-rustc-rayon-core" ,rust-rustc-rayon-core-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1.1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published versions of rustc data structures") + (description + "Use data structures used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-graphviz-654.0 (package (name "rust-rustc-ap-graphviz") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0018-gnu-Add-rust-rustc-ap-rustc-span-654.0.patch >From cc142fe59c0f35e3c118e18bce22f05e9f89c314 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:04:45 -0700 Subject: [PATCH 18/33] gnu: Add rust-rustc-ap-rustc-span-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-span-654.0): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1bace8188c..88900ceff6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20228,6 +20228,44 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-span-654.0 + (package + (name "rust-rustc-ap-rustc-span") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_span" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hj23syxxqqmk1y4kdvb0cb0xxi8wy429hhyd27bbmpya1h18j56")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-md-5" ,rust-md-5-0.8) + ("rust-rustc-ap-arena" ,rust-rustc-ap-arena-654.0) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654.0) + ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-scoped-tls" ,rust-scoped-tls-1.0) + ("rust-sha-1" ,rust-sha-1-0.8) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the source code spans used in rustc") + (description + "Use the spans used in the Rust compiler to represent source code with +this crate. It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0019-gnu-Add-rust-rustc-ap-rustc-ast-654.0.patch >From 4194625204a3ebd26846064b69b014236b4ec8d0 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:05:39 -0700 Subject: [PATCH 19/33] gnu: Add rust-rustc-ap-rustc-ast-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-ast-654.0): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 88900ceff6..7d058b1da1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20048,6 +20048,44 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-ast-654.0 + (package + (name "rust-rustc-ap-rustc-ast") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_ast" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0n4yhkd7x0c3nqyqz99lwjiix7mf1j5xbkn9fj90h4fxp3did7qq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-index" + ,rust-rustc-ap-rustc-index-654.0) + ("rust-rustc-ap-rustc-lexer" ,rust-rustc-ap-rustc-lexer-654.0) + ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0) + ("rust-scoped-tls" ,rust-scoped-tls-1.0) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the Rust ast used in rustc") + (description + "Use the Rust ast used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-data-structures-654.0 (package (name "rust-rustc-ap-rustc-data-structures") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0020-gnu-Add-rust-rustc-ap-rustc-target-654.0.patch >From cf4dc38fabe1d9e0d5f1ec8b829be195c61d4148 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:45:50 -0700 Subject: [PATCH 20/33] gnu: Add rust-rustc-ap-rustc-target-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-target-654.0): New variable. --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7d058b1da1..ccc8d98ade 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20304,6 +20304,40 @@ this crate. It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-target-654.0 + (package + (name "rust-rustc-ap-rustc-target") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_target" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0i579l4jx4ky5wm0ah8zdy6dd6201rii6rv1wc4bi209ixwjikr8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654.0) + ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the compile targets used in rustc") + (description + "Use the compile targets as expressed in the Rust compiler with this +crate. It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0021-gnu-Add-rust-rustc-ap-rustc-ast-pretty-654.0.patch >From 06511d9e6c512748c2672cd619c9ca570fe9fd24 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 21:49:07 -0700 Subject: [PATCH 21/33] gnu: Add rust-rustc-ap-rustc-ast-pretty-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-ast-pretty-654.0): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ccc8d98ade..d25448a825 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20086,6 +20086,36 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-ast-pretty-654.0 + (package + (name "rust-rustc-ap-rustc-ast-pretty") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc-ast-pretty" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15503m4bi835hrswpjp8xgbapak3azdc2jc7d0vyj85lyyai9ar6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-ast" ,rust-rustc-ap-rustc-ast-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0) + ("rust-rustc-ap-rustc-target" + ,rust-rustc-ap-rustc-target-654.0)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the pretty-printer used in rustc") + (description + "Use the ast pretty-printer used in the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-data-structures-654.0 (package (name "rust-rustc-ap-rustc-data-structures") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0022-gnu-Add-rust-termize-0.1.patch >From eee6f7d3f8f29fa4d4bdb898ecea2bab90f38db7 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:09:38 -0700 Subject: [PATCH 22/33] gnu: Add rust-termize-0.1. * gnu/packages/crates-io.scm (rust-termize-0.1): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d25448a825..957e346796 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24737,6 +24737,32 @@ bindings are a small wrapper around the raw C functions, which converts integer return values to @code{std::io::Result} to indicate success or failure.") (license license:expat))) +(define-public rust-termize-0.1 + (package + (name "rust-termize") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "termize" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "158j22glm4cw6b2whs8fxpvqwk5132qydxzmj9qcw8s3armvw1hp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/JohnTitor/termize") + (synopsis + "Functions for determining terminal sizes and dimensions") + (description + "This is a Rust library to enable getting terminal sizes and dimensions +This is a fork of @url{https://github.com/clap-rs/term_size-rs}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-test-assembler-0.1 (package (name "rust-test-assembler") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0023-gnu-Add-rust-yansi-term-0.1.patch >From 505e9b9e8e1dcf0849425b24f669c2236fb7e14b Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:16:38 -0700 Subject: [PATCH 23/33] gnu: Add rust-yansi-term-0.1. * gnu/packages/crates-io.scm (rust-yansi-term-0.1): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 957e346796..fe6e7fb348 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28902,6 +28902,39 @@ to XDG Base Directory specification") (("rust-clippy" ,rust-clippy-0.0) ("rust-linked-hash-map" ,rust-linked-hash-map-0.3)))))) +(define-public rust-yansi-term-0.1 + (package + (name "rust-yansi-term") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "yansi-term" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1w8vjlvxba6yvidqdvxddx3crl6z66h39qxj8xi6aqayw2nk0p7y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1.0) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1.0)))) + (home-page + "https://github.com/botika/yansi-term") + (synopsis + "Library for ANSI terminal colours and styles (bold, underline)") + (description + "Yansi-term provices a library for ANSI terminal colours and +styles (bold, underline). It is adapted from +@url{https://github.com/ogham/rust-ansi-term}. It was refactored to support +@code{fmt::Display and FnOnce(&mut fmt::Formatter) -> fmt::Result}") + (license license:expat))) + (define-public rust-zbase32-0.1 (package (name "rust-zbase32") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0024-gnu-Add-rust-annotate-snippets-0.8.patch >From 115dcb66e03b2506d079b3af4a39acbf3c5a527b Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:17:27 -0700 Subject: [PATCH 24/33] gnu: Add rust-annotate-snippets-0.8. * gnu/packages/crates-io.scm (rust-annotate-snippets-0.8): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fe6e7fb348..82e807787a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -426,6 +426,39 @@ shapes, lines and text to buffers.") (description "This package provides the glue for the Android JNI.") (license license:expat))) +(define-public rust-annotate-snippets-0.8 + (package + (name "rust-annotate-snippets") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rbyczndanxj8380i695xaqixsnp3mgy6py0n43acpjf149s13np")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-yansi-term" ,rust-yansi-term-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-difference" ,rust-difference-2.0) + ("rust-glob" ,rust-glob-0.3) + ("rust-serde" ,rust-serde-1.0) + ("rust-toml" ,rust-toml-0.5) + ("rust-yansi-term" ,rust-yansi-term-0.1)))) + (home-page "https://github.com/rust-lang/annotate-snippets-rs") + (synopsis + "Library for building code annotations") + (description + "This library helps visualize meta information annotating source code +slices. It takes a data structure called @code{Snippet} on the input and +produces a @code{String} that underlines the sources of errors and more.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ansi-term-0.12 (package (name "rust-ansi-term") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0025-gnu-Add-rust-annotate-snippets-0.6.patch >From fcbcd8d3f88c79e0a5a52e61370b53aeb0018332 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 18 Jun 2020 15:40:04 -0700 Subject: [PATCH 25/33] gnu: Add rust-annotate-snippets-0.6. * gnu/packages/crates-io.scm (rust-annotate-snippets-0.6): New variable. --- gnu/packages/crates-io.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82e807787a..7b74ac76f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -459,6 +459,21 @@ slices. It takes a data structure called @code{Snippet} on the input and produces a @code{String} that underlines the sources of errors and more.") (license (list license:asl2.0 license:expat)))) +(define-public rust-annotate-snippets-0.6 + (package + (inherit rust-annotate-snippets-0.8) + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name + (string-append + (package-name rust-annotate-snippets-0.8) "-" version ".tar.gz")) + (sha256 + (base32 + "19x7ldklprdgf8pam8b3lfhrxqw5yldcvk5j0bw2agsajbj1q0n7")))))) + (define-public rust-ansi-term-0.12 (package (name "rust-ansi-term") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0026-gnu-Add-rust-ap-rustc-errors-654.0.patch >From 41e0050097d5f7ca80cbff6d49f76dc065fea05b Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:20:18 -0700 Subject: [PATCH 26/33] gnu: Add rust-ap-rustc-errors-654.0. * gnu/packages/crates-io.scm (rust-ap-rustc-errors-654.0): New variable. --- gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7b74ac76f1..83fa59baac 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20211,6 +20211,68 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-errors-654.0 + (package + (name "rust-rustc-ap-rustc-errors") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc-errors" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1030psm9nx3f132dswbkwqahb4hy020bjvdsyj53dfy6hyhix3lh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-annotate-snippets" + ,rust-annotate-snippets-0.6) + ("rust-atty" ,rust-atty-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-ap-rustc-span" + ,rust-rustc-ap-rustc-span-654.0) + ("rust-termcolor" ,rust-termcolor-1.0) + ("rust-termize" ,rust-termize-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the errors used in rustc") + (description + "Use the errors from the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rustc-ap-rustc-fs-util-654.0 + (package + (name "rust-rustc-ap-rustc-fs-util") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_fs_util" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "028yi1gr8khnf05dj0726j574g3jd7bp259154kzqs74wmbi7yg3")))) + (build-system cargo-build-system) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the file system utilities in rustc") + (description + "Use the file system utilities library used in the Rust compiler with +this crate. It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-graphviz-654.0 (package (name "rust-rustc-ap-graphviz") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0027-gnu-Add-rust-rustc-ap-rustc-feature-654.0.patch >From 423b95100fd987c8151886ede6aa28df4f189bdf Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:36:16 -0700 Subject: [PATCH 27/33] gnu: Add rust-rustc-ap-rustc-feature-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-feature-654.0): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 83fa59baac..8c415a7723 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20250,6 +20250,35 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-feature-654.0 + (package + (name "rust-rustc-ap-rustc-feature") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_feature" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xnkfzvf5mmydxmsln5sk8wrp7xpaz45djkiwg1ffv8ff7hm7ywn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the feature gates used in rustc") + (description + "Use the feature gates of Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-fs-util-654.0 (package (name "rust-rustc-ap-rustc-fs-util") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0028-gnu-Add-rust-rustc-ap-rustc-session-654.0.patch >From c95251876afb37d4f9af11e166feaa54c22f5ac1 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:41:37 -0700 Subject: [PATCH 28/33] gnu: Add rust-rustc-ap-rustc-session-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-session-654.0): New variable. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8c415a7723..fb6c6d375c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20435,6 +20435,46 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-session-654.0 + (package + (name "rust-rustc-ap-rustc-session") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc_session" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fcmiylyl37aipg5l3ihhk8bggcyvhw7d14jwhz27mw1395ij6ix")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-getopts" ,rust-getopts-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-num-cpus" ,rust-num-cpus-1.11) + ("rust-rustc-ap-rustc-ast" ,rust-rustc-ap-rustc-ast-654.0) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-errors" ,rust-rustc-ap-rustc-errors-654.0) + ("rust-rustc-ap-rustc-feature" ,rust-rustc-ap-rustc-feature-654.0) + ("rust-rustc-ap-rustc-fs-util" + ,rust-rustc-ap-rustc-fs-util-654.0) + ("rust-rustc-ap-serialize" + ,rust-rustc-ap-serialize-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0) + ("rust-rustc-ap-rustc-target" + ,rust-rustc-ap-rustc-target-654.0)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of compile-time execution in rustc") + (description + "Use the compile-time execution from the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-rustc-span-654.0 (package (name "rust-rustc-ap-rustc-span") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0029-gnu-rust-unicode-normalization-0.1-update-to-0.1.11.patch >From df0801b0087b56cd9f946f712e49d429a7501b87 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 18 Jun 2020 15:38:27 -0700 Subject: [PATCH 29/33] gnu: rust-unicode-normalization-0.1: update to 0.1.11. * gnu/packages/crates-io.scm (rust-unicode-normalization-0.1): Update to 0.1.11. --- gnu/packages/crates-io.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fb6c6d375c..47f1644c04 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26555,7 +26555,7 @@ with the Unicode character database.") (define-public rust-unicode-normalization-0.1 (package (name "rust-unicode-normalization") - (version "0.1.9") + (version "0.1.11") (source (origin (method url-fetch) @@ -26563,7 +26563,8 @@ with the Unicode character database.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kviyqg3bmds4p5hgwf9qgihw8xxvq7ljgyrrk7ygxa2k450gj09")))) + (base32 + "1kxxb5ndb5dzyp1flajjdxnbwyjw6ml9xvy0pz7b8srjn9ky4qdm")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0030-gnu-Add-rust-rustc-ap-rustc-parse-654.0.patch >From 6866416569822caf1a0512f69a52c377057a27d5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:45:11 -0700 Subject: [PATCH 30/33] gnu: Add rust-rustc-ap-rustc-parse-654.0. * gnu/packages/crates-io.scm (rust-rustc-ap-rustc-parse-654.0): New version. --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 47f1644c04..dd6aa3e2a4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20408,6 +20408,50 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustc-ap-rustc-parse-654.0 + (package + (name "rust-rustc-ap-rustc-parse") + (version "654.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-ap-rustc-parse" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0j8zqmx4ijdnq41ng8krzwsr1g2sg4chicddpf3mzv4iql8hryrd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-log" ,rust-log-0.4) + ("rust-rustc-ap-rustc-ast" ,rust-rustc-ap-rustc-ast-654.0) + ("rust-rustc-ap-rustc-ast-pretty" + ,rust-rustc-ap-rustc-ast-pretty-654.0) + ("rust-rustc-ap-rustc-data-structures" + ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-errors" + ,rust-rustc-ap-rustc-errors-654.0) + ("rust-rustc-ap-rustc-feature" + ,rust-rustc-ap-rustc-feature-654.0) + ("rust-rustc-ap-rustc-lexer" + ,rust-rustc-ap-rustc-lexer-654.0) + ("rust-rustc-ap-rustc-session" + ,rust-rustc-ap-rustc-session-654.0) + ("rust-rustc-ap-rustc-span" + ,rust-rustc-ap-rustc-span-654.0) + ("rust-unicode-normalization" + ,rust-unicode-normalization-0.1)))) + (home-page "https://github.com/alexcrichton/rustc-auto-publish") + (synopsis + "Automatically published version of the rustc parser") + (description + "Use the parser from the Rust compiler with this crate. +It is automatically published using the compiler repository at +@url{https://www.github.com/rust-lang/rust}") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-ap-serialize-654.0 (package (name "rust-rustc-ap-serialize") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0031-gnu-Add-racer.patch >From e1c6cab65a1501d852c34201f0f2a59d20963614 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 22:46:23 -0700 Subject: [PATCH 31/33] gnu: Add racer. * gnu/packages/rust-apps.scm (racer): New variable. --- gnu/packages/rust-apps.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 1cf22f4a79..2decea0c9b 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -30,7 +30,10 @@ #:use-module (gnu packages documentation) #:use-module (gnu packages jemalloc) #:use-module (gnu packages pcre) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages ruby) #:use-module (gnu packages tls) #:use-module (gnu packages version-control)) @@ -204,6 +207,60 @@ While it does not seek to mirror all of find's powerful functionality, it provides defaults for 80% of the use cases.") (license (list license:expat license:asl2.0)))) +(define-public racer + (package + (name "racer") + ;; Racer "requires" nightly rustc but 2.1.33 is known to work with 1.44.0 + (version "2.1.33") + (source + (origin + (method url-fetch) + (uri (crate-uri "racer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hiylb0xx15r99y9h5sz98bbg1zki084l96hg46hxwkxdxljncjl")))) + (build-system cargo-build-system) + (inputs + `(("perl" ,perl) + ("python-wrapper" ,python-wrapper) + ("ruby" ,ruby))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-clap" ,rust-clap-2) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-humantime" ,rust-humantime-2) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-log" ,rust-log-0.4) + ("rust-rls-span" ,rust-rls-span-0.5) + ("rust-rustc-ap-rustc-ast" ,rust-rustc-ap-rustc-ast-654.0) + ("rust-rustc-ap-rustc-ast-pretty" ,rust-rustc-ap-rustc-ast-pretty-654.0) + ("rust-rustc-ap-rustc-errors" ,rust-rustc-ap-rustc-errors-654.0) + ("rust-rustc-ap-rustc-data-structures" ,rust-rustc-ap-rustc-data-structures-654.0) + ("rust-rustc-ap-rustc-parse" ,rust-rustc-ap-rustc-parse-654.0) + ("rust-rustc-ap-rustc-session" ,rust-rustc-ap-rustc-session-654.0) + ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654.0) + ("rust-lazycell" ,rust-lazycell-1.2) + ("rust-racer-cargo-metadata" ,rust-racer-cargo-metadata-0.1)) + #:tests? #f ; FIXME: Test crate causes build problems + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-rustc-bootstrap + (lambda _ (setenv "RUSTC_BOOTSTRAP" "1") #t)) + (add-after 'unpack 'remove-circular-test-dependency + (lambda _ + (substitute* "Cargo.toml" + (("\\[dev-dependencies.racer-testutils\\]") "") + (("version = \"0.1\"") "") + (("path = \"testutils\"") ""))))))) + (home-page "https://github.com/racer-rust/racer") + (synopsis "Code completion for Rust") + (description "Code completion for Rust") + (license license:expat))) + (define-public ripgrep (package (name "ripgrep") -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0032-gnu-rust-install-source-output.patch >From e345122f5b48ea034cf2a7359d5b6abd727abee5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 11:18:26 -0700 Subject: [PATCH 32/33] gnu: rust: install "source" output. * gnu/packages/rust.scm (rust-1.19): [arguments] Install source in 'install phase. --- gnu/packages/rust.scm | 78 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 74 insertions(+), 4 deletions(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 90fc67aebb..e85997e57b 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -227,7 +227,7 @@ safety and thread safety guarantees.") (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/llvm") #t)) (patches (map search-patch '("rust-1.19-mrustc.patch"))))) - (outputs '("out" "cargo")) + (outputs '("out" "cargo" "source")) (properties '((timeout . 72000) ;20 hours (max-silent-time . 18000))) ;5 hours (for armel) (arguments @@ -311,6 +311,13 @@ test = { path = \"../libtest\" } (string-append name "\"" ,%cargo-reference-hash "\""))) (generate-all-checksums "src/vendor") #t)) + (add-after 'unpack 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; Install "source" output + (mkdir-p (string-append (assoc-ref outputs "source") "/src")) + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t)) ;; This phase is overridden by newer versions. (replace 'configure (const #t)) @@ -473,7 +480,7 @@ safety and thread safety guarantees.") `(;; The tests fail with newer versions of GNU Make. ("make" ,gnu-make-4.2) ,@(package-native-inputs base-rust))) - (outputs '("out" "doc" "cargo")) + (outputs '("out" "doc" "cargo" "source")) ;; Since rust-1.19 is local, it's quite probable that Hydra ;; will build rust-1.19 only as a dependency of rust-1.20. ;; But then Hydra will use the wrong properties, the ones here, @@ -583,6 +590,13 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" (utime filename 1 1 1 1)) (find-files "." #:directories? #t)) #t)) + (add-after 'reset-timestamps-after-changes 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; Install "source" output + (mkdir-p (string-append (assoc-ref outputs "source") "/src")) + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t)) (replace 'build (lambda* _ (invoke "./x.py" "build") @@ -917,6 +931,21 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" (substitute-keyword-arguments (package-arguments base-rust) ((#:phases phases) `(modify-phases ,phases + (replace 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; Install "source" output, now following symlinks + (mkdir-p (string-append (assoc-ref outputs "source"))) + ;; copy-recursively fails on these symlinks it sees twice + ;; so just copy them directly + (delete-file "src/tools/cargo/src/crates-io/LICENSE-MIT") + (delete-file "src/tools/cargo/src/crates-io/LICENSE-APACHE") + (copy-file "src/tools/cargo/LICENSE-MIT" + "src/tools/cargo/src/crates-io/LICENSE-MIT") + (copy-file "src/tools/cargo/LICENSE-APACHE" + "src/tools/cargo/src/crates-io/LICENSE-APACHE") + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t)) (add-after 'patch-cargo-tests 'patch-cargo-env-shebang (lambda* (#:key inputs #:allow-other-keys) (let ((coreutils (assoc-ref inputs "coreutils"))) @@ -1137,6 +1166,20 @@ move around." (substitute-keyword-arguments (package-arguments base-rust) ((#:phases phases) `(modify-phases ,phases + (replace 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; copy-recursively fails on these symlinks it sees twice + ;; so just copy them directly + (delete-file "src/tools/cargo/crates/crates-io/LICENSE-MIT") + (delete-file "src/tools/cargo/crates/crates-io/LICENSE-APACHE") + (copy-file "src/tools/cargo/LICENSE-MIT" + "src/tools/cargo/crates/crates-io/LICENSE-MIT") + (copy-file "src/tools/cargo/LICENSE-APACHE" + "src/tools/cargo/crates/crates-io/LICENSE-APACHE") + (mkdir-p (string-append (assoc-ref outputs "source") "/src")) + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t)) (add-before 'configure 'configure-cargo-home (lambda _ (let ((cargo-home (string-append (getcwd) "/.cargo"))) @@ -1261,8 +1304,35 @@ move around." "0x9lxs82may6c0iln0b908cxyn1cv7h03n5cmbx3j1bas4qzks6j")) (define-public rust-1.43 - (rust-bootstrapped-package rust-1.42 "1.43.0" - "18akhk0wz1my6y9vhardriy2ysc482z0fnjdcgs9gy59kmnarxkm")) + (let ((base-rust + (rust-bootstrapped-package rust-1.42 "1.43.0" + "18akhk0wz1my6y9vhardriy2ysc482z0fnjdcgs9gy59kmnarxkm"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases p) + `(modify-phases ,p + (replace 'install-source + (lambda* (#:key outputs #:allow-other-keys) + ;; copy-recursively fails on these symlinks it sees twice + ;; so just copy them directly + (delete-file "src/tools/cargo/crates/crates-io/LICENSE-MIT") + (delete-file "src/tools/cargo/crates/crates-io/LICENSE-APACHE") + (delete-file "src/tools/cargo/crates/cargo-platform/LICENSE-MIT") + (delete-file "src/tools/cargo/crates/cargo-platform/LICENSE-APACHE") + (copy-file "src/tools/cargo/LICENSE-MIT" + "src/tools/cargo/crates/crates-io/LICENSE-MIT") + (copy-file "src/tools/cargo/LICENSE-MIT" + "src/tools/cargo/crates/cargo-platform/LICENSE-MIT") + (copy-file "src/tools/cargo/LICENSE-APACHE" + "src/tools/cargo/crates/crates-io/LICENSE-APACHE") + (copy-file "src/tools/cargo/LICENSE-APACHE" + "src/tools/cargo/crates/cargo-platform/LICENSE-APACHE") + (mkdir-p (string-append (assoc-ref outputs "source") "/src")) + (copy-recursively + "." (string-append (assoc-ref outputs "source") "/src")) + #t))))))))) (define-public rust-1.44 (rust-bootstrapped-package rust-1.43 "1.44.0" -- 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0033-gnu-emacs-racer-Patch-paths-to-rust-source-and-racer.patch >From 7b9030a45938f0caba0591c4c99e778d45028100 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 16 Jun 2020 23:43:49 -0700 Subject: [PATCH 33/33] gnu: emacs-racer: Patch paths to rust source and racer. * gnu/packages/emacs-xyz.scm (emacs-racer): [arguments] Patch paths to rust source and racer binary in racer.el. --- gnu/packages/emacs-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index aae9eb25fd..f0a1fddb83 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -168,6 +168,8 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages password-utils) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages rust) + #:use-module (gnu packages rust-apps) #:use-module (gnu packages sphinx) #:use-module (gnu packages xdisorg) #:use-module (gnu packages shells) @@ -17375,11 +17377,21 @@ files. It focuses on highlighting the document to improve readability.") #:test-command '("make" "test") #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-rust-src-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "racer.el" + (("/usr/local/src/rust/src") + (string-append (assoc-ref inputs "rust") "/src/src")) + (("/usr/local/bin/racer") + (string-append (assoc-ref inputs "racer") "/bin/racer"))))) (add-before 'check 'fix-makefile (lambda _ (substitute* "Makefile" (("\\$\\{CASK\\} exec ") "")) #t))))) + (inputs + `(("racer" ,racer) + ("rust" ,rust "source"))) (native-inputs `(("emacs-ert-runner" ,emacs-ert-runner) ("emacs-undercover" ,emacs-undercover))) -- 2.26.2 --=-=-=-- ------------=_1609525442-5077-1--