From c01235a922807fac02d629275bbafbe7cf326d89 Mon Sep 17 00:00:00 2001 From: jgart Date: Tue, 1 Aug 2023 01:22:50 -0500 Subject: gnu: Add python-pyment * gnu/packages/python-xyz.scm (python-pyment): New public variable. --- gnu/packages/python-xyz.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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 @@ 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-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") -- cgit 1.4.1