From 7cc4a096ea565850fdb80dd8c5103fa3d0fe3ae2 Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 7 Nov 2025 13:58:51 -0500 Subject: init --- bd/python-austin.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 bd/python-austin.scm (limited to 'bd/python-austin.scm') diff --git a/bd/python-austin.scm b/bd/python-austin.scm new file mode 100644 index 0000000..69c7a67 --- /dev/null +++ b/bd/python-austin.scm @@ -0,0 +1,37 @@ +(define-module (bd python-austin) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages) + #:use-module (guix packages) + #:use-module (gnu packages autotools) + #:use-module (guix gexp) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:export (python-austin)) + +;;; Commentary: +;;; provides austin, a python frame stack sampler (profiler) +;;; Code: + + +(define python-austin + (package + (name "python-austin") + (version "3.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/P403n1x87/austin") + (commit (string-append "v" version)) + (recursive? #f))) + (sha256 + (base32 "0074gjkf7agkbgs7k9py2gk7i4ir27bq12mbnslm3fwnxl3vyxk0")))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake)) + (home-page "https://github.com/P403n1x87/austin") + (synopsis "Python frame stack sampler for CPython.") + (description + "Austin is a Python frame stack sampler for CPython written in pure C. Samples are collected by reading the CPython interpreter virtual memory space to retrieve information about the currently running threads along with the stack of the frames that are being executed. Hence, one can use Austin to easily make powerful statistical profilers that have minimal impact on the target application and that don't require any instrumentation.") + (license (list license:gpl3+)))) + +;;; python-austin.scm ends here -- cgit v1.2.3