guix-commits
[Top][All Lists]
Advanced

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

24/26: gnu: Add python-docstring-parser.


From: guix-commits
Subject: 24/26: gnu: Add python-docstring-parser.
Date: Wed, 10 May 2023 13:31:01 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit e171a8bd889fd0420f8171ef4e5cbf1fadf1cd58
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 10 18:08:18 2023 +0200

    gnu: Add python-docstring-parser.
    
    * gnu/packages/python-xyz.scm (python-docstring-parser): New variable.
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0753c42ff3..772de8fc78 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5299,6 +5299,24 @@ which only supports flat sequences, and allows you to 
apply a function to each
 leaf preserving the overall structure.")
     (license license:asl2.0)))
 
+(define-public python-docstring-parser
+  (package
+    (name "python-docstring-parser")
+    (version "0.15")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "docstring_parser" version))
+              (sha256
+               (base32
+                "10pnbg2q0ic1h6pwbyhhqd075fv67sq07k3gjncmi1mix29w1pa8"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-poetry-core python-pytest))
+    (home-page "https://github.com/rr-/docstring_parser";)
+    (synopsis "Parse Python docstrings in reST, Google and Numpydoc format")
+    (description "This package lets you parse Python docstrings in reST,
+Google and Numpydoc format.")
+    (license license:expat)))
+
 (define-public python-docutils
   (package
     (name "python-docutils")



reply via email to

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