From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37010) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huEnC-00073k-Ev for guix-patches@gnu.org; Sun, 04 Aug 2019 07:35:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huEnB-00049H-EP for guix-patches@gnu.org; Sun, 04 Aug 2019 07:35:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51782) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huEnB-00048o-Aj for guix-patches@gnu.org; Sun, 04 Aug 2019 07:35:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huEnB-0001ks-3j for guix-patches@gnu.org; Sun, 04 Aug 2019 07:35:13 -0400 Subject: [bug#36920] [PATCH 07/43] gnu: Add rust-doc-comment. Resent-Message-ID: From: Efraim Flashner Date: Sun, 4 Aug 2019 14:33:39 +0300 Message-Id: In-Reply-To: <20190804112613.GC2421@E2140> References: <20190804112613.GC2421@E2140> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36920@debbugs.gnu.org * gnu/packages/crates-io.scm (rust-doc-comment): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3f9bc1ffb7..1d80223068 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -132,6 +132,25 @@ memory but not other memory. This package provides a discard trait which allows for intentionally leaking memory") (license license:expat))) +(define-public rust-doc-comment + (package + (name "rust-doc-comment") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "doc-comment" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj")))) + (build-system cargo-build-system) + (home-page "https://github.com/GuillaumeGomez/doc-comment") + (synopsis "Macro to generate doc comments") + (description "This package provides a way to generate doc comments +from macros.") + (license license:expat))) + (define-public rust-proc-macro2 (package (name "rust-proc-macro2") -- 2.22.0