summaryrefslogtreecommitdiff
path: root/guix/ruby-nano-bots.scm
blob: cea5434ffbaa14bc4a846105ab1eb965cf693849 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
(define-module (ruby-nano-bots)
  #:use-module (gnu packages ruby)
  #:use-module (guix build-system ruby)
  #:use-module (guix git-download)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (ruby-babosa))

(define ruby-nano-bots-git-reference
  (git-reference (url "https://github.com/icebaker/ruby-nano-bots.git")
		 (commit "v3.0.1")))

(define ruby-nano-bots-content-hash
  (content-hash "079qi3zqhs34pqhjy4vi38ra5fixrrbdd4kqsi9b3dh7pbz65s4h"))

(define ruby-nano-bots-origin
  (origin (uri ruby-nano-bots-git-reference)
	  (method git-fetch)
	  (hash ruby-nano-bots-content-hash)))

(define-public ruby-nano-bots
  (package (name "ruby-nano-bots")
	   (version "3.0.1")
	   (source ruby-nano-bots-origin)
	   (build-system ruby-build-system)
	   (arguments '(#:phases (modify-phases %standard-phases
						(delete 'check))))
	   (inputs (list ruby-babosa
			 ruby-concurrent-ruby))
	   (synopsis "Ruby Nano Bots")
	   (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)."))
	   (license expat)
	   (home-page "https://rubygems.org/gems/nano-bots")))