From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GBoXJdTwWGftGwEAe85BDQ:P1 (envelope-from ) for ; Wed, 11 Dec 2024 01:54:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GBoXJdTwWGftGwEAe85BDQ (envelope-from ) for ; Wed, 11 Dec 2024 02:54:28 +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="ROmzFGs/"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=eXwPDDP3; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733882068; a=rsa-sha256; cv=none; b=jd7NNIRyzfiIdhvKbAs3+3n9dPvFiX7C9KrJSz1rLT4TOp9E68aE1psBCs58PMaiybnlr/ CQIhtwBmlWhqXJZjbuf+IYZ+vu1IoME+jb5JVV0i58E4zifnjdIODl99UzCQs2u0q/pKpK vRPdl7BNnQFcejbZMMjOgH0tMDzNUtkJEeuOPeMiX0WPBvGykkaUp8ruhLDgLNgU4dw0ol yvAsLy8cFZ5aPbSZbvyUmXqLG6nrewETwKFsnsFc4de3pVVg8LemKGG4ElHWIaawGubBXg aIIugkuil0PMIeQLou2duk1g0zVHY6igVeyWVE38fHtPqR4MENao/XaddRvDKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="ROmzFGs/"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=eXwPDDP3; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733882068; 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=PdcOavMhIqSeX7DoTB6r6GQ7z92w5/9Th9EaHcX/4b4=; b=QjqQMog0DQ7bdDThk3u9pLRZqJjeXN1PwgcHuuK6mEwIP85BQpCnt265BJe/hMsgkA/s8c NF8sm41ghDOeO5L3e1CeWvvULnOKEEMWt3T4mYtcX8ItSF5VT9lp7OvYFUyb/wJs1WLU9n tFwV8foMNqvpc4B8g34bt+EaRj6WjsvS4x4YuV9A1clsYUPiq/cwplt5d1+nei3PMYVMKS m6jUeVo3XKB3g4zqP0QQdDXoDnlZpDwtFXDlsUEXnRA77L4M+vK4KyLR3754uZhtF65Uf0 K90D8d4ikcXBHsH35Ew67nXJA9k+RqzJ4D/PDuq4T08OkWlNKyZz0P8EsVVZFQ== 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 595321F5F7 for ; Wed, 11 Dec 2024 02:54:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLBvI-0003F9-2E; Tue, 10 Dec 2024 20:53:56 -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 1tLBue-0002rR-Bf for guix-patches@gnu.org; Tue, 10 Dec 2024 20:53:17 -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 1tLBud-0007w8-Q7 for guix-patches@gnu.org; Tue, 10 Dec 2024 20:53:15 -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=PdcOavMhIqSeX7DoTB6r6GQ7z92w5/9Th9EaHcX/4b4=; b=ROmzFGs/R+0WVa+VygGUtnXPAP1KqxTlTl1Y+Yp8abAkGMExI6du7Wd0uXjj8DqRYoB0FADYNSWWtKjrsP5f5zDEO5tha5rQbVEHEbQCnIblaMBNcz3bqMRNYN45g8Mik6QRCLupXPZEPyIIUPdy42PQ3Ug5Vjazy/gJSnCKH9bXmaEhGThNApHbb/5ftau3X1DzT1Oqzhy+xsYAPokogopGeo1BNPy9GxclBTux2Pg2KHp06HxlvJMiBU/F+PNZzQw8OACMkpVibbhxjkq5v5oj1iHu0G5lTHFlV/wLAdG23MhEEBhUP3nvTpqrYMWrae2XwIAooyGSlrSraeZLmg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLBud-0007IQ-Lm; Tue, 10 Dec 2024 20:53:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74767] [PATCH PATCH rust-team v2 24/24] gnu: Add py-spy. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 11 Dec 2024 01:53:15 +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.173388196827750 (code B ref 74767); Wed, 11 Dec 2024 01:53:15 +0000 Received: (at 74767) by debbugs.gnu.org; 11 Dec 2024 01:52:48 +0000 Received: from localhost ([127.0.0.1]:60462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLBuB-0007DP-Dp for submit@debbugs.gnu.org; Tue, 10 Dec 2024 20:52:47 -0500 Received: from mail-pl1-f177.google.com ([209.85.214.177]:52227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLBu8-0007Cb-Og for 74767@debbugs.gnu.org; Tue, 10 Dec 2024 20:52:45 -0500 Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2165cb60719so21498745ad.0 for <74767@debbugs.gnu.org>; Tue, 10 Dec 2024 17:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733881899; x=1734486699; 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=PdcOavMhIqSeX7DoTB6r6GQ7z92w5/9Th9EaHcX/4b4=; b=eXwPDDP3SBCEAD83s7Oh5tObwOGC/k8RfyXPG5ud6wwCnUejSOZ2Gt3NogwLBvUwv7 2VTTQUXaF8gFIiFVj19OaqN1lUOUWQh9q0VOH/hmI3kj+tiN8iYfdoJa6yoquOaYo5pH 8mpI5CZBQrnj5eX+S/n7HRfFGIDLnvto6Lplnjo4mNyG1vya9hS36m5Gb19Zx4xXWJeX ZcGpnInSwiE7sDCRCHPIerf9y+6XCbZ6WDSPj4yKwJ0I1jjejeBxz4+3T/tCKNzrnjO4 kEE0yhMXVLJvgfxfkr3j9lOJiENir5zUX1I43KcXCRTndJtIV5rbdL/bFT6Hyqp2H/aE AU+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733881899; x=1734486699; 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=PdcOavMhIqSeX7DoTB6r6GQ7z92w5/9Th9EaHcX/4b4=; b=TvFVWlMarogsIIK19wIEf9/Gy33TZiKHHwVgURnW49iQ5xaFUbtviWHl8qykTQr6dl pBA67Rp8Xx3u0uyoo9UlmeLoBQD021r/ctivjGYBa1XXThdBoBrriVvhzxmEPnFlCads NUhcWyQMcpLhZUMfTtxRdqvYeusHqAN0fbwK8pVeZDJ9xRsiSPskhbr9PEERAEDg7+EV 554nY/4OnuzBgaH46rvVLyK76dk++GOtBSby43AzvzTIq29xZLyF56CZAqQDfsdFBUEk m3718YfiZSUVIZKKylGtZ9oUyx+aeLABtClDNlYQC16QwxOk3mdBuDZxOn8oiyjx9uKB iDfQ== X-Gm-Message-State: AOJu0Yzl+UfcJnq40tYyXYhqprYicHUFehYtz56U6ai8i+Xj8Smuw7Ra BcftCLtCK/u9ZRf93lEQ6/5cGmu9uwRVaXtloZHLdD+gyAS1Ewwwscs+lg== X-Gm-Gg: ASbGncvB68dtCQbg2ch2aFNlzTqMuWTdpPtCImS/VTfsg8cTLu21x3aiGoM0pBaMkjP FLNHaJ5D+AD7DtsfDO3DDt93NNpFMGfH42Rfhh7KLIdimkKNB4ROVib3HTgvmdB0HyzkKaRFqB6 oKH9kCc/HkEMVxM98BqQwD30DSWO4XCQ1tddde645QRJX6hLxsc6gunYDhZvzc0Baxhdp/UWN2Q Y9fn3yL/vT3aJUEKG0SINwcmUQJFYpnVIV4tGQu4G2XWZYIEChWA33NpsPO0k1QDTQBq4Ol X-Google-Smtp-Source: AGHT+IGR9Ta1oswURdo/y4Nfou96ees1Vh5a/5oFXGzW0Cj43erW00c+d4DqyMYbfkfLZoJhMaz6WA== X-Received: by 2002:a17:903:945:b0:215:8ca3:3bac with SMTP id d9443c01a7336-2177851fab7mr18638535ad.16.1733881898660; Tue, 10 Dec 2024 17:51:38 -0800 (PST) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21631118cedsm61537435ad.150.2024.12.10.17.51.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 17:51:38 -0800 (PST) From: Maxim Cournoyer Date: Wed, 11 Dec 2024 10:49:11 +0900 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: <3751e2473a8415293f3903c0aaa34362bc0b6f30.1733881750.git.maxim.cournoyer@gmail.com> References: <3751e2473a8415293f3903c0aaa34362bc0b6f30.1733881750.git.maxim.cournoyer@gmail.com> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.18 X-Spam-Score: -5.18 X-Migadu-Queue-Id: 595321F5F7 X-Migadu-Scanner: mx12.migadu.com X-TUID: ny5XlUoqgtS9 * gnu/packages/rust-apps.scm (py-spy): New variable. Change-Id: I41876fd3c83da27cece7c0fe4812248c3c4467df --- (no changes since v1) 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