From 34e4c4c0d982ca66305f89a4d37d589f4f4cbc86 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Fri, 2 Feb 2024 11:39:36 +0100 Subject: Move the guix package module up to guix --- guix/ruby-nano-bots.scm | 48 ++++++++++++++++++++++++++++++++++++++++ guix/ruby-nano-bots/packages.scm | 48 ---------------------------------------- 2 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 guix/ruby-nano-bots.scm delete mode 100644 guix/ruby-nano-bots/packages.scm 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))))) diff --git a/guix/ruby-nano-bots/packages.scm b/guix/ruby-nano-bots/packages.scm deleted file mode 100644 index d50a694..0000000 --- a/guix/ruby-nano-bots/packages.scm +++ /dev/null @@ -1,48 +0,0 @@ -(define-module (ruby-nano-bots packages) - #: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))))) -- cgit v1.2.3