summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README1
-rw-r--r--modules/tanelorn/packages/engineering.scm29
2 files changed, 30 insertions, 0 deletions
diff --git a/README b/README
index e4cbdeb..46023da 100644
--- a/README
+++ b/README
@@ -10,6 +10,7 @@ The packages and services found here are optionally free for anyone to use, unde
- sdb
- radare2
+ - python-austin
- *Emacs Packages*:
diff --git a/modules/tanelorn/packages/engineering.scm b/modules/tanelorn/packages/engineering.scm
index 9947b35..2fb2554 100644
--- a/modules/tanelorn/packages/engineering.scm
+++ b/modules/tanelorn/packages/engineering.scm
@@ -5,10 +5,12 @@
(define-module (tanelorn packages engineering)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system meson)
+ #:use-module (guix build-system gnu)
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (tanelorn packages)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages compression)
#:use-module (gnu packages digest)
#:use-module (gnu packages engineering)
@@ -131,3 +133,30 @@ It can also compare (@dfn{diff}) binaries with graphs and extract information
like relocation symbols. It is able to deal with malformed binaries, making
it suitable for security research and analysis.")
(license license:lgpl3)))
+
+(define-public 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"))
+ (file-name (git-file-name name version))))
+ (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+))))