From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47436) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkS3-0007it-0K for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkS1-00011M-C9 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:18 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkS1-00011A-0B for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkS0-0004jM-Tw for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:16 -0400 Subject: [bug#40874] [PATCH 22/94] gnu: Add rust-ctor-0.1. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:46920) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkRM-0006TZ-LY for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkRM-0000Az-5l for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:36 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:36330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSkRL-0000AP-LU for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:35 -0400 From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:45:01 +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-ctor-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 4b38ccacfb..56a4524381 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4043,6 +4043,30 @@ Code} (MAC) algorithms.") "Bare bones CSV parsing with no_std support.") (license (list license:unlicense license:expat)))) +(define-public rust-ctor-0.1 + (package + (name "rust-ctor") + (version "0.1.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "ctor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qgwkwyxishpp3wkbwq5i27zdxz539ii0sz129xj061ffnnfbia7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-quote" ,rust-quote-1.0) + ("rust-syn" ,rust-syn-1.0)) + #:cargo-development-inputs + (("rust-libc-print" ,rust-libc-print-0.1)))) + (home-page "https://github.com/mmastrac/rust-ctor") + (synopsis "Module initialization and teardown functions for Rust") + (description "This package provides module initialization and teardown +functions for Rust, like the @code{__attribute__((constructor))} in C/C++.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ctrlc-3.1 (package (name "rust-ctrlc") -- 2.21.3