gnu: Add python-hnswlib.
* gnu/packages/python-xyz.scm (python-hnswlib): New variable.
This commit is contained in:
		
							parent
							
								
									f2d5597145
								
							
						
					
					
						commit
						373d2099c9
					
				
					 1 changed files with 21 additions and 0 deletions
				
			
		| 
						 | 
					@ -1369,6 +1369,27 @@ concepts.")
 | 
				
			||||||
(define-public python2-h5py
 | 
					(define-public python2-h5py
 | 
				
			||||||
  (package-with-python2 python-h5py))
 | 
					  (package-with-python2 python-h5py))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python-hnswlib
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "python-hnswlib")
 | 
				
			||||||
 | 
					    (version "0.5.2")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (pypi-uri "hnswlib" version))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32 "0wf1cwmxmdzfqmfhrkqdxb5spf21ylgl2bidswhzjrqhwf35c9qf"))))
 | 
				
			||||||
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     `(("python-numpy" ,python-numpy)))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("pybind11" ,pybind11)))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/nmslib/hnswlib")
 | 
				
			||||||
 | 
					    (synopsis "Fast approximate nearest neighbor search")
 | 
				
			||||||
 | 
					    (description "Hnswlib is a header-only C++ implementation of fast
 | 
				
			||||||
 | 
					approximate nearest neighbor search with Python bindings.")
 | 
				
			||||||
 | 
					    (license license:asl2.0)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public python-pyls-black
 | 
					(define-public python-pyls-black
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-pyls-black")
 | 
					    (name "python-pyls-black")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue