From patchwork Sun Jun 19 17:27:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: antlers X-Patchwork-Id: 40165 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 5DEE327BBEA; Sun, 19 Jun 2022 18:29:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 B80AE27BBE9 for ; Sun, 19 Jun 2022 18:29:29 +0100 (BST) Received: from localhost ([::1]:33788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2yjo-00042O-Ra for patchwork@mira.cbaines.net; Sun, 19 Jun 2022 13:29:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2yjS-0003yc-Vh for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2yjS-0004Iu-Me for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2yjS-0006RJ-Jf for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56057] [bug #56057] [PATCH v2 15/21] gnu: Add rust-parking-lot-core-0.9. Resent-From: antlers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 17:29:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56057@debbugs.gnu.org Cc: antlers Received: via spool by 56057-submit@debbugs.gnu.org id=B56057.165565969024542 (code B ref 56057); Sun, 19 Jun 2022 17:29:06 +0000 Received: (at 56057) by debbugs.gnu.org; 19 Jun 2022 17:28:10 +0000 Received: from localhost ([127.0.0.1]:53050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yiY-0006Ne-AX for submit@debbugs.gnu.org; Sun, 19 Jun 2022 13:28:10 -0400 Received: from mail-pl1-f170.google.com ([209.85.214.170]:36563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yiQ-0006KB-9V for 56057@debbugs.gnu.org; Sun, 19 Jun 2022 13:28:03 -0400 Received: by mail-pl1-f170.google.com with SMTP id m2so598420plx.3 for <56057@debbugs.gnu.org>; Sun, 19 Jun 2022 10:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eeH+zgvNxOokOva28C9VKcmv5YD/p9AXrP4B09L2Bmw=; b=Uk+i6nlMnfB/ZjvhVC17oUOx6+3W6/KUHGVRgDfOjDx2wj0laAFjn49CWjf3orGOtf 5hU/LOaV7VYYgNk2sPizhZIq8NrxdtmiJ3HE23BvKXd8XdwvIr0YMe/Jn90PB7JdjT/e kicPc6+auxAlt8lLea2tvxzSjPzmEFg2xMXZNym4I0VhityZ4UeCJtwteXtE17vJK6fz Ry4zkqJwAW+mDqOkip1JEUlrgFG39g+wRWWQT1rIOvxWRZM79nUdsQrQm+HXfOr73MK3 0S2tJxbQK/w9QzIPtZFZLtWVEGHlKlBCY8tOE5yBmvoBIv51iaiP1wvhOZrvPaDeaYtZ Cc0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eeH+zgvNxOokOva28C9VKcmv5YD/p9AXrP4B09L2Bmw=; b=a/dA3I01B1BAldpdDx97hc9GGjk7M2XZGIXjy4RqPufFFfdjLzBqeBX6Jy1kYYdnXt DXk3DpQpPFNrf9cXl7hq/P5BXE62bXzh7tl1/zkM07PfEX6tY+no6FC3Fp2RTFHTPxOL ql1OnHT7ONLaJN4lW2Nvp3GjF2g+aXAeqdFeETWp/6A7UWiaceFtVRYQdTOv0nmvdpMu UqU/zNkWZRGIHi6qboD3kyFRzrSFZUHjn2iYmvyaYt0/GI08M5+WnQhw+llHcYmnPp6s XK6k/ddTgXaMeD2yaMzMli6+hNCk26Aps7Soo8KRb2vBPaNEkqxGXhGg6zOEN511uR2d 7f9Q== X-Gm-Message-State: AJIora+x5buOwII7LbtU8pgjRHCr/g1Mm4y4du0MxFK5bqt9uc4XSanc aAIm85inWopHBf9fiGZuh3QrDp95QgI= X-Google-Smtp-Source: AGRyM1s3HwbJg6UEzBLzXGONDq4cGnYTzVDP63KwtGoJsWfLmBpe/z9AU6b1jRVt7U88zvncdqWqsg== X-Received: by 2002:a17:90b:4c48:b0:1ec:a20e:a9bf with SMTP id np8-20020a17090b4c4800b001eca20ea9bfmr2545057pjb.209.1655659676353; Sun, 19 Jun 2022 10:27:56 -0700 (PDT) Received: from tower.hitronhub.home (24-113-171-200.wavecable.com. [24.113.171.200]) by smtp.gmail.com with ESMTPSA id o68-20020a62cd47000000b005251e2b53acsm1204051pfg.116.2022.06.19.10.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 10:27:56 -0700 (PDT) From: antlers X-Google-Original-From: antlers Date: Sun, 19 Jun 2022 10:27:05 -0700 Message-Id: <20220619172711.3413-16-antlers@luris.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220619172711.3413-1-antlers@luris.net> References: <79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be> <20220619172711.3413-1-antlers@luris.net> 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 (rust-parking-lot-core-0.9): New variable. (rust-parking-lot-core-0.8): Inherit from rust-parking-lot-core-0.9. --- :100644 100644 83be540cf7 23679744fa M gnu/packages/crates-io.scm gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 83be540cf7..23679744fa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41108,8 +41108,37 @@ (define-public rust-parking-lot-0.7 ("rust-rand" ,rust-rand-0.4) ("rust-rustc-version" ,rust-rustc-version-0.2)))))) +(define-public rust-parking-lot-core-0.9 + (package + (name "rust-parking-lot-core") + (version "0.9.3") + (source (origin + (method url-fetch) + (uri (crate-uri "parking_lot_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ab95rljb99rm51wcic16jgbajcr6lgbqkrr21w7bc2wyb5pk8h9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-redox-syscall" ,rust-redox-syscall-0.2) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thread-id" ,rust-thread-id-4)))) + (home-page "https://github.com/Amanieu/parking_lot") + (synopsis "API for creating custom synchronization primitives") + (description "This package provides an advanced API for creating custom +synchronization primitives.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-parking-lot-core-0.8 (package + (inherit rust-parking-lot-core-0.9) (name "rust-parking-lot-core") (version "0.8.4") (source @@ -41127,7 +41156,6 @@ (define-public rust-parking-lot-core-0.8 ;; that works well, really. (substitute* "Cargo.toml" (("0\\.3\\.60") "0.3.56")))))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) @@ -41138,12 +41166,7 @@ (define-public rust-parking-lot-core-0.8 ("rust-redox-syscall" ,rust-redox-syscall-0.2) ("rust-smallvec" ,rust-smallvec-1) ("rust-thread-id" ,rust-thread-id-4) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/Amanieu/parking_lot") - (synopsis "API for creating custom synchronization primitives") - (description "This package provides an advanced API for creating custom -synchronization primitives.") - (license (list license:asl2.0 license:expat)))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-parking-lot-core-0.7 (package