From efa85935d13f6d095926b8229e386adcf960961d Mon Sep 17 00:00:00 2001 From: James Kalyan Date: Thu, 12 Aug 2021 08:01:49 -0600 Subject: [PATCH] dev-util/rust-analyzer-bin: add v2021.08.09 Signed-off-by: James Kalyan --- dev-util/rust-analyzer-bin/Manifest | 1 + .../rust-analyzer-bin-2021.08.09.ebuild | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.08.09.ebuild diff --git a/dev-util/rust-analyzer-bin/Manifest b/dev-util/rust-analyzer-bin/Manifest index 52f5e5124f..b04e93d2f0 100644 --- a/dev-util/rust-analyzer-bin/Manifest +++ b/dev-util/rust-analyzer-bin/Manifest @@ -1 +1,2 @@ DIST rust-analyzer-bin-2021.08.02.gz 11550409 BLAKE2B 6d1dc7dd15375016f153d53c408f882f219778dfbeaa98e15fcb51a5f6704b29a73205c1c2ed1162ad2794387d9abc3fc569a19d243135428fc4ab6b46b9bcac SHA512 c23b2e9d645863b84e0961429c654365887f265faf883f94b62bedc4a9b8de25c00cc3e1653d614f485bebb9cbe4abb241072955d8d46bdc082795d597285422 +DIST rust-analyzer-bin-2021.08.09.gz 11688726 BLAKE2B 1002048d93fdc357a28ab287fdb862442433f764c9f11249a4caf587bf968de1a9a4bdc44f1ce2c1a2e2833c223ed8ec0070f50f6421d06db206f477f3ca5971 SHA512 2129ef0839647b509a7d048ac2781d830dc7d83311e0b46ef5caf60fe306d22dcdfe584bcc7e3e53edd6dc2b1c0d2ab04741c607f2a7ac29a13b3f9a859b6ba0 diff --git a/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.08.09.ebuild b/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.08.09.ebuild new file mode 100644 index 0000000000..4e4f0e6975 --- /dev/null +++ b/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.08.09.ebuild @@ -0,0 +1,24 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="An implementation of Language Server Protocol for the Rust programming language" +HOMEPAGE="https://rust-analyzer.github.io" +SRC_URI="https://github.com/rust-analyzer/rust-analyzer/releases/download/2021-08-09/rust-analyzer-x86_64-unknown-linux-gnu.gz -> ${P}.gz" + +LICENSE="Apache-2.0 MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64" + +S=${WORKDIR} + +QA_FLAGS_IGNORED="usr/bin/rust-analyzer" + +src_install() { + newbin ${P} rust-analyzer +} + +pkg_postinst() { + elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly" +}