From 77f2765c903c97dcc05aa8508a9425b115a82640 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 21:17:39 +0100 Subject: [PATCH v6 07/28] 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 bbf2419fee..fd8f803104 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27220,6 +27220,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.36.1