From patchwork Sun Dec 6 17:21:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QW50b2luZSBDw7R0w6k=?= X-Patchwork-Id: 25611 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 E49F727BC01; Sun, 6 Dec 2020 17:23:10 +0000 (GMT) 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, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 31E3627BC00 for ; Sun, 6 Dec 2020 17:23:10 +0000 (GMT) Received: from localhost ([::1]:49060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klxkb-0002UK-6p for patchwork@mira.cbaines.net; Sun, 06 Dec 2020 12:23:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klxkU-0002Tw-V4 for guix-patches@gnu.org; Sun, 06 Dec 2020 12:23:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klxkU-000770-OD for guix-patches@gnu.org; Sun, 06 Dec 2020 12:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klxkU-0007kd-Jl for guix-patches@gnu.org; Sun, 06 Dec 2020 12:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45079] [PATCH 2/3] gnu: Add rust-nasm-rs-0.2. Resent-From: Antoine =?utf-8?b?Q8O0dMOp?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Dec 2020 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45079 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45079@debbugs.gnu.org Received: via spool by 45079-submit@debbugs.gnu.org id=B45079.160727533029713 (code B ref 45079); Sun, 06 Dec 2020 17:23:02 +0000 Received: (at 45079) by debbugs.gnu.org; 6 Dec 2020 17:22:10 +0000 Received: from localhost ([127.0.0.1]:51123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klxje-0007jB-4o for submit@debbugs.gnu.org; Sun, 06 Dec 2020 12:22:10 -0500 Received: from mout02.posteo.de ([185.67.36.66]:36295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klxjb-0007if-Vt for 45079@debbugs.gnu.org; Sun, 06 Dec 2020 12:22:09 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 6A7B42400FD for <45079@debbugs.gnu.org>; Sun, 6 Dec 2020 18:22:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607275321; bh=UIYQofIxAA6RP0CVi8o7ZKKswQ6mSsDbjjQ/nsGanGA=; h=Subject:To:From:Autocrypt:Date:From; b=P8kjgc9wJ9VE/J2QGYhwYcsM1bA9D/cM7N8+unMYRJ3EXPb2v1uANilbloOJTzvb4 A+4GcM7gXIqiRmBa6pgu9/T6dDZ3hd1GyqmLkeVvnIqmEJuY18NxOivUQhH5S6QZg6 reiMJg0rW0QylIc175KAdOaomYIT0kEJJfvIW+HV5w5WLICOprLqvIUQa6nNBjGz4/ y9eHJj2Ovt1KUd+3///rYx3w3r0Nz8bJdb/+V2yND0p1leBmp5ftb7xu0Y62hbe0YO GVwzgLysbGJv4MaQRYGkoQ3BEUt9h8PmFvLs3ib3t9DXhHS2masVjorso9q2pl9H64 Z9I3bWV8ICu4A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CptXm50T4z9rxg for <45079@debbugs.gnu.org>; Sun, 6 Dec 2020 18:22:00 +0100 (CET) References: From: Antoine =?utf-8?b?Q8O0dMOp?= Autocrypt: addr=antoine.cote@posteo.net; keydata= mQINBFtGzQ0BEACy2+iiisjBYkXXT465FzjMTTcp/+PMzvvy6hRIu2zCytOqOLLaygDarjgo 8BXC6v0otSoZ//fjUamR27ApqLJndfMRJ89Nir2xvuexUVx68hoQV1/PUNs9n6x1vxnAkB/T gB7GNFhKSPJIKNeQKmliOqPDTR4PR25JJmnHOzYjEHiR5ZVIczA2Rd9u/VQDTW0gGTK6bQkJ q1Gf7QvLN4nUzKJ9quMPDfY8oCs2mdNOEYCaTJVA0y4biUt6jmE0knaZnW8hQEL7XJ5Y8B8a InwASqsRmGAGJmcr8TTjD6yoN7fTNoZAeyLJOHZ7EwCahcnxt9eSWt0csIxgFs71yxXkxD9c SPr1MQFL1Itbf8mBgi1kXFqGNaYH+QP+fdZfRxqiSXxBI+HiM9NxR6y+shrYG1rGCrozA1ap YkIlOsOAd+DzIUUuoroh6Sg5UMhixKlLIGeP4ji0WgcsJYT5b0ig6PTm90r0j6tYl7aYXIyp q6Oq7Au6GmCLthitTTjNOsF8DYS0eNSyuXPNvrwCw2ir+8Z0IkmgOXOHIIp98HennC1ZVep8 p3OA87DBtIgGtURU7zhvEBw6uAnNIZK7iGhUeQuu6TavNLA2chWJj3wyUMrFWXWrTMSuZdsA ObCa8IvDKuyBb4Ip+gSRq+8WgF/X4WHeEmD+i1H/6i50bofUuQARAQABtChBbnRvaW5lIEPD tHTDqSA8YW50b2lu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 UNA2XwBZcFuP+3GX7L/zZLq3ESUdTWR6OhLRCNusKH5sY2lapYJuQEe+C7phexEgNsQ1q9gA kDp2WMQCBCGAIorQ X-Forwarded-Message-Id: Message-ID: <27bbdde5-264e-f038-77e7-51b01014ddd6@posteo.net> Date: Sun, 6 Dec 2020 12:21:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.9.0 MIME-Version: 1.0 In-Reply-To: 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crate-io.scm (rust-nasm-rs-0.2): New variable. (rust-nasm-rs-0.1): Inherit from rust-nasm-rs-0.2. --- gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-rayon" ,rust-rayon-1)))) - (home-page "https://github.com/medek/nasm-rs") - (synopsis "Run NASM during your Cargo build") - (description "Run NASM during your Cargo build.") - (license (list license:expat license:asl2.0)))) + (("rust-rayon" ,rust-rayon-1)))))) (define-public rust-nalgebra-0.21 (package diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eb39a04e23..09a4dfdccc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2020 Gabriel Arazas ;;; Copyright © 2020 André Batista ;;; Copyright © 2020 Arun Isaac +;;; Copyright © 2020 Antoine Côté ;;; ;;; This file is part of GNU Guix. ;;; @@ -16177,8 +16178,32 @@ a default trait implementation you've defined.") libmysqlclient.") (license (list license:expat license:asl2.0)))) +(define-public rust-nasm-rs-0.2 + (package + (name "rust-nasm-rs") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nasm-rs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-rayon" ,rust-rayon-1)))) + (home-page "https://github.com/medek/nasm-rs") + (synopsis "Run NASM during your Cargo build") + (description "Run NASM during your Cargo build.") + (license (list license:expat license:asl2.0)))) + (define-public rust-nasm-rs-0.1 (package + (inherit rust-nasm-rs-0.2) (name "rust-nasm-rs") (version "0.1.7") (source @@ -16194,11 +16219,7 @@ libmysqlclient.")