aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/python.scm
diff options
context:
space:
mode:
authorArun Isaac2024-03-11 19:06:08 +0000
committerArun Isaac2024-03-11 19:06:08 +0000
commitfc04f7328522c4ca8b728bd129c53f26d2857d37 (patch)
treed5d3c831650c3076da44ee92dd5beb11af6083b9 /gn/packages/python.scm
parente84620e6d91e2cbd7aa683846ccb9664ae9137eb (diff)
downloadguix-bioinformatics-fc04f7328522c4ca8b728bd129c53f26d2857d37.tar.gz
gn: Add python-pypubsub.
* gn/packages/python.scm (python-pypubsub): New variable.
Diffstat (limited to 'gn/packages/python.scm')
-rw-r--r--gn/packages/python.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index da0cdc6..a9cd5be 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -1911,3 +1911,29 @@ stdout and stderr without any redirection or additional code---just print or
log as you normally would. Enlighten also includes experimental support for
Jupyter Notebooks.")
(license license:mpl2.0)))
+
+(define-public python-pypubsub
+ (package
+ (name "python-pypubsub")
+ (version "4.0.3")
+ ;; There is no source tarball on PyPI.
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/schollii/pypubsub")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "02j74w28wzmdvxkk8i561ywjgizjifq3hgcl080yj0rvkd3wivlb"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/schollii/pypubsub")
+ (synopsis "Python publish-subscribe library")
+ (description "@code{python-pypubsub} provides a pure Python
+publish-subscribe API to facilitate event-based or message-based architecture
+in a single-process application. It is centered on the notion of a topic;
+senders publish messages of a given topic, and listeners subscribe to messages
+of a given topic, all inside the same process. The package also supports a
+variety of advanced features that facilitate debugging and maintaining topics
+and messages in larger desktop or server-based applications.")
+ (license license:bsd-2)))