From 53e4ec38127b28d400e29f5e202ac6166d199f5c Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 21:17:39 +0100 Subject: [PATCH v5 07/32] gnu: Add python-makefun. * gnu/packages/python-xyz.scm (python-makefun): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4eef3ef72d..ce5abfe3d8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25493,6 +25493,28 @@ (define-public python-flake8-array-spacing array-like variables.") (license license:bsd-3))) +(define-public python-makefun + (package + (name "python-makefun") + (version "1.13.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "makefun" version)) + (sha256 + (base32 + "1gqnqvwzig9ym4nyzwy6dzra7sg6339rdaca59fvkfzzf2vbhnwq")))) + (build-system python-build-system) + (native-inputs (list python-pytest python-pytest-runner + python-setuptools-scm)) + (home-page "https://github.com/smarie/python-makefun") + (synopsis "Small library to dynamically create python functions") + (description + "@samp{makefun} helps you create functions dynamically, with the +signature of your choice. It was largely inspired by @samp{decorator} and +@samp{functools}, and created mainly to cover some of their limitations.") + (license license:bsd-3))) + (define-public python-frozendict (package (name "python-frozendict") -- 2.34.0