From patchwork Mon May 20 08:58:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64730 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 41A6227BBE9; Mon, 20 May 2024 10:04:44 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 E255E27BBE2 for ; Mon, 20 May 2024 10:04:41 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8yvD-0002AB-Sz; Mon, 20 May 2024 05:03:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8yvB-00020A-7c for guix-patches@gnu.org; Mon, 20 May 2024 05:03:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s8yvA-0007IY-TK for guix-patches@gnu.org; Mon, 20 May 2024 05:03:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8yvF-0007Td-Bq; Mon, 20 May 2024 05:03:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 17/81] gnu: Add rust-tikv-jemalloc-ctl-0.5. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 09:03:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71076@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71076-submit@debbugs.gnu.org id=B71076.171619574728450 (code B ref 71076); Mon, 20 May 2024 09:03:09 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:02:27 +0000 Received: from localhost ([127.0.0.1]:41362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8yuY-0007Oi-Jx for submit@debbugs.gnu.org; Mon, 20 May 2024 05:02:26 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:37059 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysQ-00071L-32 for 71076@debbugs.gnu.org; Mon, 20 May 2024 05:00:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1716195600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Oi9GzHQPZ4JcjUw7cyDBTY9iqW7dxBzQBL8M/1gdQBg=; b=smcKDLLmZray81xVCqNf3HXNHYltnzh83/+s48YiFqmV2XwpHJ7ljHg9Y/3pCmdJ1v/MoA 6DWKlJHAMNl20VLVH34Ka2az17xG31V6RfNeGfTYSHyPdWQ+XLy69V+jMTwIEir6k2t37H treVNl1MQrDjsSTuV9TOT+1ymc/86RuMr6XXt4uImSTIgGTVv9RXzT00J6bMYZtEig670M JpZh0FCAIqMD2aJLE8qLxkyiUYTWZcjXvXB5p1ctCqHmdx207w77pYpCk4+abFZYZOJPP7 esZ8di7xUDDkpe2+ZrmMsTd1FR35KwNq/A3gu1b7lQ0bdqZ20YAGy5X5tNsfmg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 5b73a3e8 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <71076@debbugs.gnu.org>; Mon, 20 May 2024 09:00:00 +0000 (UTC) Date: Mon, 20 May 2024 10:58:22 +0200 Message-ID: <079b1ba22a02cd2a8699a020720710a27a6f73c5.1716193122.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-tikv-jemalloc-ctl-0.5): Add variable. (rust-tikv-jemalloc-ctl-0.4): Inherit from rust-tikv-jemalloc-ctl-0.5. Change-Id: I92818cbff791d2d884e22f6dc3629438ae1c9bd5 --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 16583e582a..bb67d59ca1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -82696,8 +82696,36 @@ (define override-jemalloc (string-append (assoc-ref inputs "jemalloc") "/lib/libjemalloc_pic.a")))))) +(define-public rust-tikv-jemalloc-ctl-0.5 + (package + (name "rust-tikv-jemalloc-ctl") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tikv-jemalloc-ctl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0763cba891c9r8r8d8iqw5pfcq409w6l7fbnyzvm8yw0gp9gx6v1")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs (list rust-libc-0.2 + rust-paste-1 + rust-tikv-jemalloc-sys-0.5) + #:cargo-development-inputs (list rust-tikv-jemallocator-0.5) + #:phases override-jemalloc)) + (native-inputs (list jemalloc)) + (home-page "https://github.com/tikv/jemallocator") + (synopsis "Wrapper for jemalloc control and introspection APIs") + (description + "This package provides a safe wrapper over jemalloc's control and +introspection APIs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tikv-jemalloc-ctl-0.4 (package + (inherit rust-tikv-jemalloc-ctl-0.5) (name "rust-tikv-jemalloc-ctl") (version "0.4.1") (source @@ -82709,7 +82737,6 @@ (define-public rust-tikv-jemalloc-ctl-0.4 (sha256 (base32 "1pqs08dgnnrgbib8syldxmm8cjgyz80scs9i8jgn6mw86gj8137j")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -82719,15 +82746,7 @@ (define-public rust-tikv-jemalloc-ctl-0.4 ,rust-tikv-jemalloc-sys-0.4)) #:cargo-development-inputs (("rust-tikv-jemallocator" - ,rust-tikv-jemallocator-0.4)))) - (home-page - "https://github.com/tikv/jemallocator") - (synopsis - "Safe wrapper over jemalloc's control and introspection APIs") - (description - "This package provides a safe wrapper over jemalloc's control and -introspection APIs.") - (license (list license:expat license:asl2.0)))) + ,rust-tikv-jemallocator-0.4)))))) (define-public rust-tikv-jemalloc-sys-0.5 (package