summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-02-14 02:00:42 -0500
committerLeo Famulari <leo@famulari.name>2016-03-18 14:27:16 -0400
commitcedac813a58e6220edc771f112e0d50ab188b0ce (patch)
tree4f95a37c32dcc7a63b3dda71da532f8e10335439 /gnu/packages/python.scm
parent3f7a182d25854d7a69cae8c98efcd55e72ac35fa (diff)
gnu: Add python-munkres.
* gnu/packages/python.scm (python-munkres, python2-munkres): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index af3c60bac91..aab239fe037 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8233,3 +8233,26 @@ way.")
8233 (inherit (package-with-python2 8233 (inherit (package-with-python2
8234 (strip-python2-variant python-vobject))) 8234 (strip-python2-variant python-vobject)))
8235 (native-inputs `(("python2-setuptools" ,python2-setuptools))))) 8235 (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
8236
8237(define-public python-munkres
8238 (package
8239 (name "python-munkres")
8240 (version "1.0.7")
8241 (source (origin
8242 (method url-fetch)
8243 (uri (pypi-uri "munkres" version))
8244 (sha256
8245 (base32
8246 "1i6nf45i0kkzdx6k70giybsqxz4dxsjbrkrfqgjd7znfkf25sjik"))))
8247 (build-system python-build-system)
8248 (arguments
8249 '(#:tests? #f)) ; no test suite
8250 (home-page "http://software.clapper.org/munkres/")
8251 (synopsis "Implementation of the Munkres algorithm")
8252 (description "The Munkres module provides an implementation of the Munkres
8253algorithm (also called the Hungarian algorithm or the Kuhn-Munkres algorithm),
8254useful for solving the Assignment Problem.")
8255 (license bsd-3)))
8256
8257(define-public python2-munkres
8258 (package-with-python2 python-munkres))