From patchwork Wed Sep 15 19:19:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 32880 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 950FC27BBE3; Wed, 15 Sep 2021 20:20:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5DD4F27BBE1 for ; Wed, 15 Sep 2021 20:20:13 +0100 (BST) Received: from localhost ([::1]:40050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQaS4-0001kr-Fj for patchwork@mira.cbaines.net; Wed, 15 Sep 2021 15:20:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQaRt-0001kT-Vd for guix-patches@gnu.org; Wed, 15 Sep 2021 15:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQaRt-0004rs-No for guix-patches@gnu.org; Wed, 15 Sep 2021 15:20:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQaRt-0007uo-Jn for guix-patches@gnu.org; Wed, 15 Sep 2021 15:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50368] [PATCH v2 6/9] gnu: Add rust-libloading-0.7. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 19:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50368 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: "50368@debbugs.gnu.org" <50368@debbugs.gnu.org> Received: via spool by 50368-submit@debbugs.gnu.org id=B50368.163173358330397 (code B ref 50368); Wed, 15 Sep 2021 19:20:01 +0000 Received: (at 50368) by debbugs.gnu.org; 15 Sep 2021 19:19:43 +0000 Received: from localhost ([127.0.0.1]:53298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQaRb-0007uD-CK for submit@debbugs.gnu.org; Wed, 15 Sep 2021 15:19:43 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:36882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQaRZ-0007tx-9K for 50368@debbugs.gnu.org; Wed, 15 Sep 2021 15:19:42 -0400 Date: Wed, 15 Sep 2021 19:19:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631733571; bh=pwghQPJQl7huk0IySPJxvARKGAuozMNMeCQZyiEx3Dk=; h=Date:To:From:Cc:Reply-To:Subject:From; b=OHGHwYtXsua6IOu9xV2pzOSiFrsMaQ4XOnMxSs7whlKCTTulURWsLi36E1Q3jAosc hmi890vsWh12URo9rz96UnbNM8SL1tldMdJ+1qReTpoR93zMuzSeYfri1/PBpQvwYT SaZwu4qc+OLc0DWfyXPrRKhZrIrmJh6oR4JZANJQ= Message-ID: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-libloading-0.7): New variable. --- 2.32.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 107227b1ec..d458ad953e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24511,8 +24511,7 @@ library.") (origin (method url-fetch) (uri (crate-uri "libloading" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g")))) @@ -24556,6 +24555,37 @@ loading utilities.") `(("rust-cfg-if" ,rust-cfg-if-1) ("rust-winapi" ,rust-winapi-0.3))))) +(define-public rust-libloading-0.7 + (package + (name "rust-libloading") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libloading" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-static-assertions" + ,rust-static-assertions-1)))) + (home-page + "https://github.com/nagisa/rust_libloading/") + (synopsis + "Safer binding to platform dynamic library loading utilities") + (description + "This package provides a safer binding to platform dynamic +library loading utilities") + (license license:isc))) + (define-public rust-libloading-0.5 (package (name "rust-libloading")