gnu: Add python-annoy.

* gnu/packages/python-xyz.scm (python-annoy): New variable.
This commit is contained in:
Ricardo Wurmus 2019-03-29 03:51:37 +01:00
parent 51a9971ccb
commit c91ecf2db4
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -15275,3 +15275,26 @@ (define-public python-toolshed
(description "This is a collection of well-tested, simple modules and
functions that aim to reduce boilerplate when working with data.")
(license license:bsd-2)))
(define-public python-annoy
(package
(name "python-annoy")
(version "1.15.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "annoy" version))
(sha256
(base32
"1rxn6snn0r32r07g45hdjhh8aa1xzx6fjrm8g62d8vzp46z7rzrp"))))
(build-system python-build-system)
(native-inputs
`(("python-nose" ,python-nose)))
(home-page "https://github.com/spotify/annoy/")
(synopsis "Approximate nearest neighbors library")
(description
"Annoy is a C++ library with Python bindings to search for points in
space that are close to a given query point. It also creates large read-only
file-based data structures that are @code{mmap}ped into memory so that many
processes may share the same data.")
(license license:asl2.0)))