Subject: [PATCH 6/8] gnu: Add python-snakeviz.

From: Giacomo Leidi <[email-masked]>
Date: Mon, 28 Dec 2020 22:32:43 +0100

* gnu/packages/python-xyz.scm (python-snakeviz): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1bbb425ae8..8a00bebe3e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23303,3 +23303,28 @@ These should be used in preference to using a backslash for line continuation.
     (synopsis "Flake8 lint for quotes.")
     (description "This package provides a Flake8 lint for quotes.")
     (license license:expat)))
+
+(define-public python-snakeviz
+  (package
+    (name "python-snakeviz")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "snakeviz" version))
+       (sha256
+        (base32
+         "0s6byw23hr2khqx2az36hpi52fk4v6bfm1bb7biaf0d2nrpqgbcj"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-tornado" ,python-tornado)))
+    (home-page
+     "https://jiffyclub.github.io/snakeviz/")
+    (synopsis
+     "Web-based viewer for Python profiler output")
+    (description
+     "SnakeViz is a browser based graphical viewer for
+the output of Python’s cProfile module and an alternative to
+using the standard library pstats module.
+It was originally inspired by RunSnakeRun. ")
+    (license license:bsd-3)))
-- 
2.29.2