guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument.


From: Malte Frank Gerdes
Subject: [bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument.
Date: Sat, 17 Oct 2020 12:35:46 +0200

* gnu/packages/python-check.scm (python-pyinstrument)@ New variable.
---
 gnu/packages/python-check.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 6d068a9cd8..4fcc382913 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -99,6 +99,28 @@ nosetests, etc...) in Python projects.")
   (description "A CPython extension supporting pyinstrument")
   (license license:bsd-3)))
 
+(define-public python-pyinstrument
+  (package
+    (name "python-pyinstrument")
+    (version "3.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyinstrument" version))
+       (sha256
+        (base32
+         "0r8n2ajhjx9mlsy7hsvf6ihw1lk4zn1l95vd1c3g0jc3m1pfz3yf"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pyinstrument-cext" ,python-pyinstrument-cext)))
+    (home-page
+     "https://github.com/joerick/pyinstrument";)
+    (synopsis
+     "Call stack profiler for Python. Shows you why your code is slow!")
+    (description
+     "Call stack profiler for Python. Shows you why your code is slow!")
+    (license license:bsd-3)))
+
 (define-public python-vcrpy
   (package
     (name "python-vcrpy")
-- 
2.28.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]