summaryrefslogtreecommitdiff
path: root/guix/ruby-nano-bots.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/ruby-nano-bots.scm')
-rw-r--r--guix/ruby-nano-bots.scm48
1 files changed, 48 insertions, 0 deletions
diff --git a/guix/ruby-nano-bots.scm b/guix/ruby-nano-bots.scm
new file mode 100644
index 0000000..314479c
--- /dev/null
+++ b/guix/ruby-nano-bots.scm
@@ -0,0 +1,48 @@
+(define-module (ruby-nano-bots)
+ #:use-module (guix build-system ruby)
+ #:use-module (guix git-download)
+ #:use-module (guix licenses)
+ #:use-module (guix packages))
+
+(define ruby-nano-bots-git-reference
+ (let ((git-reference-url "https://github.com/icebaker/ruby-nano-bots.git")
+ (git-reference-commit "v3.0.1"))
+ (git-reference (url git-reference-url)
+ (commit git-reference-commit))))
+
+(define ruby-nano-bots-origin
+ (let ((origin-method git-fetch)
+ (origin-hash "079qi3zqhs34pqhjy4vi38ra5fixrrbdd4kqsi9b3dh7pbz65s4h"))
+ (origin (uri ruby-nano-bots-git-reference)
+ (method origin-method)
+ (hash (content-hash origin-hash)))))
+
+(define-public ruby-nano-bots
+ (let ((delete-check '(delete 'check)))
+ (let ((package-name "ruby-nano-bots")
+ (package-version "3.0.1")
+ (package-source ruby-nano-bots-origin)
+ (package-build-system ruby-build-system)
+ (package-arguments `(#:phases (modify-phases %standard-phases
+ ,delete-check)))
+ (package-synopsis "Ruby Nano Bots")
+ (package-description
+ (string-append "Ruby Implementation of Nano Bots: "
+ "small, AI-powered bots that can be easily "
+ "shared as a single file, designed to support "
+ "multiple providers such as Cohere Command, "
+ "Google Gemini, Maritaca AI MariTalk, "
+ "Mistral AI, Ollama, OpenAI ChatGPT, "
+ "and others, with support for "
+ "calling tools (functions)."))
+ (package-license expat)
+ (package-home-page "https://rubygems.org/gems/nano-bots"))
+ (package (name package-name)
+ (version package-version)
+ (source package-source)
+ (build-system package-build-system)
+ (arguments package-arguments)
+ (synopsis package-synopsis)
+ (description package-description)
+ (license package-license)
+ (home-page package-home-page)))))