From patchwork Thu Jan 20 21:50:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 36710 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 D064E27BBEA; Fri, 21 Jan 2022 01:02:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 981CD27BBE9 for ; Fri, 21 Jan 2022 01:02:49 +0000 (GMT) Received: from localhost ([::1]:59944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAiKG-0001VI-Mb for patchwork@mira.cbaines.net; Thu, 20 Jan 2022 20:02:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfOY-0003LA-1X for guix-patches@gnu.org; Thu, 20 Jan 2022 16:55:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfNt-0005yA-Ut for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAfNt-0001jp-UJ for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:21 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53401] [PATCH 43/49] gnu: Add rust-rug 1.14.0. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 21:54:21 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53401@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 53401-submit@debbugs.gnu.org id=B53401.16427156496438 (code B ref 53401); Thu, 20 Jan 2022 21:54:21 +0000 Received: (at 53401) by debbugs.gnu.org; 20 Jan 2022 21:54:09 +0000 Received: from localhost ([127.0.0.1]:59495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfNg-0001ff-IC for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:54:08 -0500 Received: from mail-ed1-f42.google.com ([209.85.208.42]:41846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfN4-0001Zs-Jb for 53401@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:36 -0500 Received: by mail-ed1-f42.google.com with SMTP id j2so34461789edj.8 for <53401@debbugs.gnu.org>; Thu, 20 Jan 2022 13:53:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hWlLx1ZeMkDVPnGbXfpDBxDMp5FzNrZD67fthnYkM+8=; b=WoEIZD2M+jVeGOOffkGAi6kucDRMkjO40DaM2Bx29ibRljC9vExq1bGc5KRZ8ColuE UPhpbAf364OMqPAhjDU9xgtQVqjHvBjfMkwWCw9hu9kQF7RcRPImtkzbuepGO6OFj6HE AiN+u1bAOyZuAj67vGJjMs7ZIrikTc9iK37+vHZ0viVyaijuX+HpMMm5NNMwQxi2Cp0I MeBDr8G1CvxwsMvUkayGkwjPGv8soPfSudmydFmZHHDAlCSs/6NMXOnZnwi22VfXxu2x G67IgEmb7sS+Pchu4XqwLqJ+U+3OVPyKdPaGMZyKCq6cxtZOh/VQrblKMyKfe0Bg89GU QTgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=hWlLx1ZeMkDVPnGbXfpDBxDMp5FzNrZD67fthnYkM+8=; b=Uvx/v203Tlcpy4u8H8+B2mWc4XDe1KR5kDGipAnO3iFVgvW1jC5RIl6Eq0O+UImHdt vVIj8pgsPijuo5zIk4950Dlx/IWWzTMr97mFOl5uemi4Lbn/eKEeiqtKdgzW8RoKvU/s 8fwq5+mRHkw3L2IOIB6N2tQ073aGCIgqTC0gg31i9CT9XgZTtZs9VKeZ2wZYSTezvtcY E8dNAhWwXEfBdbWqmb20wBXMgAq4TL0uQfzg8+w3UDE2PNEM2HbXV0TPzufk1cUJijmQ ebETanYTXjSEbONMoGUW+ODGaEZcTo4TxPf9xtRD/cQCWDTwuPtrNo70JyScak2PrFye zx9A== X-Gm-Message-State: AOAM530RcvRorMtEvTX/plpH3NyxkhkxIs1TQhZ5m0uc+H3vgPQ5K1pw lj8+g+uKVxgzyViA8AXJqxpxNB8D2o8= X-Google-Smtp-Source: ABdhPJxR/7/odxTCS326uCs3d0b2NNZwSWUYrryliu6t5YF+b7ysZRKiDLvcE5NSW+xItqtVBAfAEA== X-Received: by 2002:a17:907:97c7:: with SMTP id js7mr755826ejc.527.1642715605069; Thu, 20 Jan 2022 13:53:25 -0800 (PST) Received: from lelap.local (catv-89-132-245-188.catv.broadband.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id e17sm1405339eje.218.2022.01.20.13.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:53:24 -0800 (PST) From: Attila Lendvai Date: Thu, 20 Jan 2022 22:50:39 +0100 Message-Id: <20220120215045.24768-43-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220120215045.24768-2-attila@lendvai.name> References: <20220120215045.24768-2-attila@lendvai.name> 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" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f06c7c646c..e1325047a7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -45542,6 +45542,43 @@ (define-public rust-rstest-0.10 table-based tests.") (license (list license:expat license:asl2.0)))) +(define-public rust-rug-1 + (package + (name "rust-rug") + (version "1.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rug" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iw52gyw0hshymqa04g76m7qnrds5vkgc5s8svqx5nv1jz1wrdgm")))) + (build-system cargo-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-shell-for-configure-script + (lambda _ + (setenv "CONFIG_SHELL" (which "sh"))))) + #:cargo-inputs + (("rust-az" ,rust-az-1) + ("rust-gmp-mpfr-sys" ,rust-gmp-mpfr-sys-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (native-inputs + (list bash-minimal m4)) + (home-page "https://gitlab.com/tspiteri/rug") + (synopsis + "Arbitrary-precision integers, rational, floating-point and complex numbers based +on GMP, MPFR and MPC") + (description synopsis) + (license license:lgpl3+))) + (define-public rust-rpassword-5 (package (name "rust-rpassword")