diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e7236c075c..b8e8097c7b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -99,7 +99,7 @@ ;;; Copyright © 2021 LibreMiami ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Raghav Gururajan -;;; Copyright © 2021 jgart +;;; Copyright © 2021, 2023 jgart ;;; Copyright © 2021 Danial Behzadi ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Hugo Lecomte @@ -5764,6 +5764,28 @@ (define-public python-dm-tree leaf preserving the overall structure.") (license license:asl2.0))) +(define-public python-pyment + (package + (name "python-pyment") + (version "0.3.4") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/dadadel/pyment") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gbx9wmqsxdx85v5sg79lv2zxmy16j5dwi8bip07i1nyvzc5gvn0")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (home-page "https://github.com/dadadel/pyment/") + (synopsis "Convert Python docstrings automatically") + (description "Pyment is a command line tool and library that can be +used to convert between several docstring styles.") + (license license:gpl3+))) + (define-public python-docstring-parser (package (name "python-docstring-parser")