From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47476) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkS5-0007qq-56 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkS2-00012e-F7 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:20 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkS1-000129-W7 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:18 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkS1-0004jh-TE for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:17 -0400 Subject: [bug#40874] [PATCH 24/94] gnu: Add rust-derive-new-0.5. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:47004) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkRU-0006ns-5P for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkRT-0000F8-Nz for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:43 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:57967) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSkRT-0000EX-7x for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:43 -0400 From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:45:03 +0200 Message-Id: In-Reply-To: References: 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: 40874@debbugs.gnu.org * gnu/packages/crates-io.scm (rust-derive-new-0.5): 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 34ded5ad3d..bae5e35988 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4391,6 +4391,29 @@ and arithmetic.") (description "Demo of proc-macro-hack.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-new-0.5 + (package + (name "rust-derive-new") + (version "0.5.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-new" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ncibp4jhpkym7namg3viqyw8hljd32n6abg64af8qjwrn91iwvi")))) + (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)))) + (home-page "https://github.com/nrc/derive-new") + (synopsis "Simple constructor functions for structs and enums") + (description "`#[derive(new)]` implements simple constructor functions for +structs and enums.") + (license license:expat))) + (define-public rust-diff-0.1 (package (name "rust-diff") -- 2.21.3