From patchwork Sun Dec 6 07:59:32 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: 25604 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 DED3027BC00; Sun, 6 Dec 2020 16:41:32 +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 8080427BC02 for ; Sun, 6 Dec 2020 16:41:30 +0000 (GMT) Received: from localhost ([::1]:41360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klx6H-0000Ra-JD for patchwork@mira.cbaines.net; Sun, 06 Dec 2020 11:41:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klx5t-0000PO-PZ for guix-patches@gnu.org; Sun, 06 Dec 2020 11:41:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klx5q-0008Vx-7n for guix-patches@gnu.org; Sun, 06 Dec 2020 11:41:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klx5q-0006eW-5o for guix-patches@gnu.org; Sun, 06 Dec 2020 11:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45076] [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 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45076@debbugs.gnu.org Cc: Antoine =?utf-8?b?Q8O0dMOp?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160727281725429 (code B ref -1); Sun, 06 Dec 2020 16:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Dec 2020 16:40:17 +0000 Received: from localhost ([127.0.0.1]:51012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klx56-0006c3-ID for submit@debbugs.gnu.org; Sun, 06 Dec 2020 11:40:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:38270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kloxV-0005lF-3r for submit@debbugs.gnu.org; Sun, 06 Dec 2020 02:59:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kloxU-0000h8-R9 for guix-patches@gnu.org; Sun, 06 Dec 2020 02:59:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kloxS-0007FK-7G for guix-patches@gnu.org; Sun, 06 Dec 2020 02:59:52 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E9528160061 for ; Sun, 6 Dec 2020 08:59:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607241585; bh=adpvdNqjuZhHiseLdErZb4o813kNlNpuJpXwxGW4jLA=; h=From:To:Cc:Subject:Date:From; b=g4w7SYVj/ZJDfkno9lwP6dOyk3JHPk6HnUAonjFRbTnGVjByeYxATVCRdzeWJs2b4 doEBSYJCPk0hAhIIZTw/QvC8RZsCjJRuDfORpRZXqVrAorrTVYU31yk2hVyNFey7YS vZ1nvN8fRcyoEsQmHNywEHcvj0KLT5bVZPrzENwG7VbhFjOybpIFGJbq5wp0LJilI7 xAz6k+teYQGEHlsO0MFFqunyfLEaEHSf3eDUCPaHlnGZidugXBIIU9h+10W0XanOsv gqq9TJHeGchnnrrucVcckXvYMixWDaquZBnYOhRV1/QPOW+l0Y2inPRqbX08pQd/0V H+rItZZERfB8A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cpf411WVrz9rxP; Sun, 6 Dec 2020 08:59:45 +0100 (CET) From: Antoine =?utf-8?b?Q8O0dMOp?= Date: Sun, 6 Dec 2020 02:59:32 -0500 Message-Id: <20201206075933.25646-2-antoine.cote@posteo.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201206075933.25646-1-antoine.cote@posteo.net> References: <20201206075933.25646-1-antoine.cote@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=antoine.cote@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 06 Dec 2020 11:40:15 -0500 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(-) 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.") (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