From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WEZOGBhPWGcZHgAAe85BDQ:P1 (envelope-from ) for ; Tue, 10 Dec 2024 14:24:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WEZOGBhPWGcZHgAAe85BDQ (envelope-from ) for ; Tue, 10 Dec 2024 15:24:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JcCfCdR2; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FjnXqH+o; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733840664; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uiFgEOyD5dx1kI0Omr9BVkGKvSSx6ANfJ8OldTCdhSo=; b=LwkJPMtJJ26YtobvqRTbvjEbmWc8zQR3o2AZdpGNJtqIZRKItud7Ox0suQUwchtFk2UlDI LwkrMu1FP+ArzYzmYyKXRjWOgEbYjuq8WKHu4emKUep29Xw072i4P29xv5A1PvYFwr3t0Y Iai+rEVaPpA2Le4KiJhhFFJGM2rFJ06DvRDoeyg4YnRaYlSBospRH4RlPWOTbilcsVfkw5 UrMoT1sMDE5gZ5sq5Ie2Ht8B+95BNGYvSkp34Cy0aAE+ssCBNordwF6MYk/5tVquDn6Qk7 +E6XgsSMfcTkIS2z3bX26miTcm7Og3P19FmJuhaLbg65QcW5sExY3QDnagAOAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JcCfCdR2; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FjnXqH+o; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733840664; a=rsa-sha256; cv=none; b=qmkKtPeg2UvbHmqS1vkP5bHirSaZPDi2O6dETaobfL4UcrcKFepy6STo0kCRataMcRXFdU 6a1Q0/5dWfoUILFTlncuor2xtRwYzJQifLB71obgA4K0oVV4L8ykyAg+Y933Nq4jWvcybS 6l1udJn0D8TJkYf4WpFPFWv2xVSlbLFrFSibU+YqOUvcRjbqOhNTIRyENQKhTqBBCU4HYh OoBX+lqSjXj/C1LsaMpJYGbz7BxEBH+j7Ad9hu9AwvACdExBB/aNBMTVQqBg2yNHdlWW8p 9lXcCq5n6/NuMpJgpUJkP36J6uCUnhrqvrD7k0EwbDNSBC022EYKGEY+ni6k8A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2EE67881FA for ; Tue, 10 Dec 2024 15:24:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL19s-0004GR-Gb; Tue, 10 Dec 2024 09:24:16 -0500 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 1tL19m-0004Bq-Hm for guix-patches@gnu.org; Tue, 10 Dec 2024 09:24:10 -0500 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 1tL19m-0001UA-9Y for guix-patches@gnu.org; Tue, 10 Dec 2024 09:24:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=uiFgEOyD5dx1kI0Omr9BVkGKvSSx6ANfJ8OldTCdhSo=; b=JcCfCdR2MNgGdCM0OV0iAcDDjCZTU1a503lX4MvWeTNsj8WGHmbyzCAMJzqi0vRHNxb2QblMOHP9z1ZW3xozFvR5hAi46zGEajrlIrFjUa1AqHb1F2S2X63If5HCjY2TWk9xDU+nC7XFoLac39xP3gD/bCvnXUopnhnTut/GSg4oRC0t0VKBE1LFj9XQwJmfmzWS1rcfCnSpetIBAPsrzLLMFag0ZsvzREibKww68fUwOHQl54/TxarNAmSSWFF+Ud+cae5rVwCBZwbyelZRImROEegTknelT3L+9cuOJZjp3Pu8Whwh+PQHL4r0yyhJDvJ/xPoE3GamyOxhzI9Jpw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tL19m-0001iT-4F; Tue, 10 Dec 2024 09:24:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74767] [PATCH rust-team 23/23] gnu: Add py-spy. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 10 Dec 2024 14:24:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74767@debbugs.gnu.org Cc: Maxim Cournoyer , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74767-submit@debbugs.gnu.org id=B74767.17338406116384 (code B ref 74767); Tue, 10 Dec 2024 14:24:10 +0000 Received: (at 74767) by debbugs.gnu.org; 10 Dec 2024 14:23:31 +0000 Received: from localhost ([127.0.0.1]:57557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL199-0001er-0K for submit@debbugs.gnu.org; Tue, 10 Dec 2024 09:23:31 -0500 Received: from mail-pj1-f44.google.com ([209.85.216.44]:49332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL192-0001du-0e for 74767@debbugs.gnu.org; Tue, 10 Dec 2024 09:23:24 -0500 Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-2eed82ca5b4so4823161a91.2 for <74767@debbugs.gnu.org>; Tue, 10 Dec 2024 06:23:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733840543; x=1734445343; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uiFgEOyD5dx1kI0Omr9BVkGKvSSx6ANfJ8OldTCdhSo=; b=FjnXqH+omfp/bLiMWlsxyY5zvAGu4/G2EsBlgC22tSiLW0noNGE3TG1ma/5jFK/Rrx 1DHRxBAc6BLFC8qsgya/YD3X9c0CyFAPT+Ys9DZFYzkTqIoBkPxYyHYzq5mRhWAj2nqc S+99zEk27aqXm+Z2cQ65LjgYrHxNgAeKVnMzu7eB9Hr9W9U9xc6yd0F25zVLxzIR+dBo REhbdqqukQrPx7OgZOt5iGHOYqpU83WFOx0qzlBndniKATC3fGoBtEVdtVi4mTVMJ+me 8vZfQSXDawMd4JLTsuJ0wWi39R5tvn1UAdzYMicmRDJ/8Rf+/Vyi9bBjlN6lm+UVfDH+ cinQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733840543; x=1734445343; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uiFgEOyD5dx1kI0Omr9BVkGKvSSx6ANfJ8OldTCdhSo=; b=EpLex9Zf1XyyB/qEHk35kIO25yGwhbbLPb/NIjB5rrv27qAJfC6fQale1cFkxuhjHA 5PViFrPMMwiJMOWn0/ACr8Y95IhOIwC66rx1kSDM8+dD1q6QZtqZYqo/wq1DWOR6gMHG 6QB18Fn3emBYbgYkjLuq/7DnlqY+SD4PPbCH409WkKCSQuTabmvlrcapYGSA3eDzp4Df m0f4NGRXWsEENydG+iyPoCmGcCTyYRusw375uqgocNa+AT1q9838meO4PfRjUTZVnfkb 2KVq7yLdJgGQWs8g1rWALn0IO0nubFpD5Dlw5pD/QQZ3Va2FYBYBhrr5EzKLzPZnijZQ 9/rg== X-Gm-Message-State: AOJu0YypK8uCsc8agxN1I+6ksHE1Kl0Bap8We6gJSEsjzoQOnlMR+98T uEGQt33TfKu54/k4QGDJyk17dir9bbQl1Qlu3cOEi24mAfn1cGVHJDSx6A== X-Gm-Gg: ASbGncv7FOEue5oUH//vlwrdK66jsNROBv2Tc9wqbrn16LnWwUOnjDSQpPuKf+i6hXS ImmR0eFrYj0lu63WPGkfy9uFvEFaUwhN9PaDJPkHB5eZVHFFkeTNWn12kaTbyuvedt9K+RUUwEY Hs4pazhKOjn5ni9T7qgjMaRf7VqfEYlQiiA4N5o4F1LiF9LBDe8Nk1rgIsS9ut239TnI6Ksraqp rXdA6Yhh2CEIgjrTYHSCwvR3f8kY/u7iVXbjcPXBoFSixSx/oG2cWTNytxwFtk1XsAuaf5y X-Google-Smtp-Source: AGHT+IFHBL4Znbqaby6q2hSnq/FY13vqHIqxZ7v6QjLqU5UyUhBnHmcoPPnpKZ8s7gp73cPmbNKwhw== X-Received: by 2002:a17:90b:180b:b0:2ee:e945:5355 with SMTP id 98e67ed59e1d1-2efcf18e99amr6999003a91.19.1733840542876; Tue, 10 Dec 2024 06:22:22 -0800 (PST) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ef45fa64e0sm9767669a91.26.2024.12.10.06.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 06:22:22 -0800 (PST) From: Maxim Cournoyer Date: Tue, 10 Dec 2024 23:21:26 +0900 Message-ID: <407ff9a3329b5273e3f777beda2e694628d26a83.1733840024.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 3.22 X-Spam-Score: 3.22 X-Migadu-Queue-Id: 2EE67881FA X-TUID: uQSa8GwOSPnl * gnu/packages/rust-apps.scm (py-spy): New variable. Change-Id: I41876fd3c83da27cece7c0fe4812248c3c4467df Series-postfix: PATCH rust-team --- gnu/packages/rust-apps.scm | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index eb43ca8d23..2bd8db2565 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -91,6 +91,7 @@ (define-module (gnu packages rust-apps) #:use-module (gnu packages jemalloc) #:use-module (gnu packages kde) #:use-module (gnu packages libusb) + #:use-module (gnu packages libunwind) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages networking) @@ -2144,6 +2145,56 @@ (define-public rust-py-spy-testdata-0.1 (description "This package provides Python coredumps for testing py-spy.") (license license:expat)))) +(define-public py-spy + (package + (name "py-spy") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "py-spy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fvdmrqp4qand1zb9cwks8hpkysdqajrdh9y7ks15c78985k1x64")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-3) + ("rust-clap-complete" ,rust-clap-complete-3) + ("rust-console" ,rust-console-0.15) + ("rust-cpp-demangle" ,rust-cpp-demangle-0.4) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-goblin" ,rust-goblin-0.9) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-inferno" ,rust-inferno-0.11) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-lru" ,rust-lru-0.10) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proc-maps" ,rust-proc-maps-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-remoteprocess" ,rust-remoteprocess-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-termios" ,rust-termios-0.3) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-py-spy-testdata" ,rust-py-spy-testdata-0.1)))) + (native-inputs (list python-minimal-wrapper)) + (inputs (list libunwind)) + (home-page "https://github.com/benfred/py-spy") + (synopsis "Sampling profiler for Python programs") + (description + "This package provides Sampling profiler for Python programs.") + (license license:expat))) + (define-public ripgrep (package (name "ripgrep") -- 2.46.0