From 51de28452a9ef2e1fe7393ee49daeb87866541ba Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Fri, 14 Jul 2023 12:14:08 -0400 Subject: gnu: Add python-makefun. * gnu/packages/python-xyz.scm (python-makefun): New variable. Signed-off-by: John Kehayias --- gnu/packages/python-xyz.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 069d60fdda..8cdb3a08bc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -61,7 +61,7 @@ ;;; Copyright © 2019, 2023 Jack Hill ;;; Copyright © 2019-2023, Guillaume Le Vaillant ;;; Copyright © 2019, 2020 Alex Griffin -;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois +;;; Copyright © 2019, 2020, 2021, 2022, 2023 Pierre Langlois ;;; Copyright © 2019 Jacob MacDonald ;;; Copyright © 2019, 2020, 2021 Giacomo Leidi ;;; Copyright © 2019 Wiktor Żelazny @@ -5272,6 +5272,26 @@ (define-public python-linkify-it-py @end itemize") (license license:expat))) +(define-public python-makefun + (package + (name "python-makefun") + (version "1.15.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "makefun" version)) + (sha256 + (base32 + "19a8dga8rnmjn5gy1cy1wdi28swbkdkypwbqikbxil6ynqcg3c20")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest python-setuptools-scm)) + (home-page "https://github.com/smarie/python-makefun") + (synopsis "Library to dynamically create python functions") + (description "@code{makefun} helps create functions dynamically with a +given signature. It was largely inspired by @code{python-decorator} and +@code{functools}.") + (license license:bsd-3))) + (define-public python-markdown-it-py (package (name "python-markdown-it-py") -- cgit v1.2.3