diff options
Diffstat (limited to '.config/guix')
-rw-r--r-- | .config/guix/modules/packages/python-austin.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.config/guix/modules/packages/python-austin.scm b/.config/guix/modules/packages/python-austin.scm new file mode 100644 index 0000000..61a8e1c --- /dev/null +++ b/.config/guix/modules/packages/python-austin.scm @@ -0,0 +1,37 @@ +(define-module (packages 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 |