guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: gnu: Add python-multipledispatch.


From: guix-commits
Subject: 02/08: gnu: Add python-multipledispatch.
Date: Mon, 15 Nov 2021 11:57:07 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 0ace339cbeb01552a496397a547c6c782ad8f2c8
Author: Ryan Prior <rprior@protonmail.com>
AuthorDate: Mon Sep 27 02:20:14 2021 +0000

    gnu: Add python-multipledispatch.
    
    * gnu/packages/python-xyz.scm (python-multipledispatch): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e9ec280..bc1f6bc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27381,6 +27381,25 @@ objects in the combined source, and how they define or 
use each other.  The
 graph can be output for rendering by GraphViz or yEd.")
     (license license:gpl2)))
 
+(define-public python-multipledispatch
+  (package
+    (name "python-multipledispatch")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "multipledispatch" version))
+       (sha256
+        (base32
+         "1slblghfjg9fdi9zpd7gmrkvfbv20nrdgnrymcnbky8bzm8i9ax7"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-six" ,python-six)))
+    (home-page "https://github.com/mrocklin/multipledispatch/";)
+    (synopsis "Multiple dispatch for Python based on pattern matching")
+    (description "This library provides an efficient mechanism for overloading
+function implementations based on the types of the arguments.")
+    (license license:bsd-3)))
+
 (define-public date2name
   (let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798")
         (revision "1"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]