From patchwork Mon May 20 08:58:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64663 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 1D09927BBE9; Mon, 20 May 2024 10:02:12 +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=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 779E027BBE2 for ; Mon, 20 May 2024 10:02:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8yu9-0000vE-R4; Mon, 20 May 2024 05:02:02 -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 1s8ytH-0000Wi-Tf for guix-patches@gnu.org; Mon, 20 May 2024 05:01:07 -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 1s8ytH-0006la-K0 for guix-patches@gnu.org; Mon, 20 May 2024 05:01:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8ytM-0007Em-19; Mon, 20 May 2024 05:01:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 16/81] gnu: Add rust-tikv-jemallocator-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:01:11 +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.171619563627412 (code B ref 71076); Mon, 20 May 2024 09:01:11 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:00:36 +0000 Received: from localhost ([127.0.0.1]:41163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysl-00077z-BR for submit@debbugs.gnu.org; Mon, 20 May 2024 05:00:35 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:38769 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysP-00072D-F8 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=Nry/aFp5iW09zqx5GXjupxwk8oP6GM7BEA3O9arO0dw=; b=cc9AE2q8n0cfVbRyj2UknfVWGeycHN10lN3VjywAIRPU2rUVjp0y/2UhLgop6Ls41JXiuX oqR79Uzzt1JF5qLtMMQwzBoz4VXBP75F6gwCSZAHxCclfsBA/rwkkj74PXkn8s/nliFACB WWDLZHjtUxomMqQuzoBQF7wy5iar9Ew1EQaJgaIaf3kQioZVTLAwkM+vPLRtQN0Vf7g0+b 5bWf9isOTzF3dmCqdY/nyB2OWhqkVoWs0RREq198RI5tjNcO9Pqmz04A8W3CBGFAhOegHi 06uyf2ucp4STJyGhKkbSYv05bEMhV7b4QbpR5sVz8tBdteLMhKSYcsEmODlMrA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 8929aa72 (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:21 +0200 Message-ID: <6fbc8eed33fd42900a149050de34cb5b98b3cf49.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-jemallocator-0.5): Add variables. (rust-tikv-jemallocator-0.4): Inherit from rust-tikv-jemallocator-0.5. Change-Id: I7c280bbacbffb5aee78dc41d9fc082387992040d --- gnu/packages/crates-io.scm | 40 +++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8aee499902..16583e582a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -82778,8 +82778,38 @@ (define-public rust-tikv-jemalloc-sys-0.4 ("rust-fs-extra" ,rust-fs-extra-1) ("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-tikv-jemallocator-0.5 + (package + (name "rust-tikv-jemallocator") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tikv-jemallocator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jpanfm9az8hcbg6dyxdabykx03lj0j4g9cbwfa6rig5dg1f0pwn")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-test-flags + '(list "--release" "--" + "--skip=background_threads_enabled") + #:cargo-inputs (list rust-libc-0.2 rust-tikv-jemalloc-sys-0.5) + #:cargo-development-inputs (list rust-paste-1 + rust-tikv-jemalloc-ctl-0.5) + #:phases override-jemalloc)) + (native-inputs (list jemalloc)) + (home-page "https://github.com/tikv/jemallocator") + (synopsis "Rust allocator backed by jemalloc") + (description + "This package provides a Rust allocator backed by jemalloc.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tikv-jemallocator-0.4 (package + (inherit rust-tikv-jemallocator-0.5) (name "rust-tikv-jemallocator") (version "0.4.1") (source @@ -82791,20 +82821,12 @@ (define-public rust-tikv-jemallocator-0.4 (sha256 (base32 "1pyc94yx74s3vxnr22gnpj0b2f87s0vql0c5ayy1b1zb0jkaa51w")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-tikv-jemalloc-sys" - ,rust-tikv-jemalloc-sys-0.4)))) - (home-page - "https://github.com/tikv/jemallocator") - (synopsis - "Rust allocator backed by jemalloc") - (description - "This package provides a Rust allocator backed by jemalloc.") - (license (list license:expat license:asl2.0)))) + ,rust-tikv-jemalloc-sys-0.4)))))) (define-public rust-time-0.3 (package