diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2019-06-18 14:13:48 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-06-18 14:22:23 +0200 |
commit | dede052a2cb5f8e35ddb342c6d77b5784f46ed0b (patch) | |
tree | 4fc85d8c425b7b03c93e4f7cc7d361b71a379c29 /gnu/packages/python-xyz.scm | |
parent | 1e609b78c7f35fc6230638e2e24f57ab2715d9f2 (diff) | |
download | patches-dede052a2cb5f8e35ddb342c6d77b5784f46ed0b.tar patches-dede052a2cb5f8e35ddb342c6d77b5784f46ed0b.tar.gz |
gnu: Add python-backcall.
* gnu/packages/python-xyz.scm (python-backcall): New variable.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3efd18a72b..28ed440c78 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5062,6 +5062,28 @@ installing @code{kernelspec}s for use with Jupyter frontends.") (description "The package provides a PARI/GP kernel for Jupyter.") (license license:gpl3+))) +(define-public python-backcall + (package + (name "python-backcall") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "backcall" version)) + (sha256 + (base32 + "1r01dqch3f8fdj3n6fviw8hxqrs6w5v0qw4izmvqzry1w9dxiv1q")))) + (build-system python-build-system) + (home-page "https://github.com/takluyver/backcall/") + (synopsis "Specifications for callback functions passed in to an API") + (description + "If your code lets other people supply callback functions, it's important +to specify the function signature you expect, and check that functions support +that. Adding extra parameters later would break other peoples code unless +you're careful. The @code{backcall} package provides a way of specifying the +callback signature using a prototype function.") + (license license:bsd-3))) + ;; This is the latest release of the LTS version of ipython with support for ;; Python 2.7 and Python 3.x. Later non-LTS versions starting from 6.0 have ;; dropped support for Python 2.7. We may want to rename this package. |