From 127ae470bf1fed4dfb03cceb5920d7c30f9d690f Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 8 Feb 2026 21:06:40 +0000 Subject: [PATCH] gnu: Add go-github-com-blevesearch-go-faiss. * gnu/packages/golang-xyz.scm (go-github-com-blevesearch-go-faiss): New variable. Change-Id: I4d10f7533320c6635349d98e1abbeab28808533e Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 4715932b5e..dcfa5c096e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -110,6 +110,7 @@ #:use-module (gnu packages golang-crypto) #:use-module (gnu packages golang-maths) #:use-module (gnu packages golang-web) + #:use-module (gnu packages graph) #:use-module (gnu packages libedit) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) @@ -3240,6 +3241,32 @@ program's running, don't expect consistent results between platforms It's an alternative fork of https://github.com/edsrzf/mmap-go") (license license:bsd-3))) +(define-public go-github-com-blevesearch-go-faiss + (package + (name "go-github-com-blevesearch-go-faiss") + (version "1.0.27") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/blevesearch/go-faiss") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1y9gf2nbg3gjncs6l9fg4q2sxjildszanb24jhhsmivhwlzhcgzh")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/blevesearch/go-faiss")) + (inputs + (list faiss-for-go-faiss)) + (home-page "https://github.com/blevesearch/go-faiss") + (synopsis "Go bindings for Faiss") + (description + "This package provides Go bindings for @url{https://faiss.ai/, faiss}, a +library for vector similarity search.") + (license license:expat))) + (define-public go-github-com-bmatcuk-doublestar (package (name "go-github-com-bmatcuk-doublestar")