Complete GNU Guix packaging with manifest, channel, and module support #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements complete GNU Guix packaging for guile-llama-cpp, adding all the necessary files and structure for distribution via the Guix package manager.
Changes Made
Package Definition Improvements
guix.scm
: Fixed package name to follow Guix conventions (guile-llama-cpp
instead ofguile_llama_cpp
), added comprehensive synopsis and description, and included proper home-page URLgit-predicate
import for proper source handlingNew Guix Infrastructure Files
.guix/modules/guile-package.scm
: Modular package definition with proper exports for reusability across different Guix contexts.guix/manifest.scm
: Development environment manifest including all build dependencies (autotools, SWIG, Guile 3.0, llama.cpp).guix-channel
: Channel definition enabling system-wide distribution and integration with Guix package managementDocumentation and Usage
.guix/README.md
: Comprehensive guide covering all usage patterns including development environments, building, installation, and channel setupUsage Examples
Development Environment:
guix shell -m .guix/manifest.scm # or guix shell -D -f guix.scm
Building the Package:
Installing the Package:
Using as a Guix Channel:
Benefits
The implementation has been verified to include all required files and follow Guix packaging conventions, making guile-llama-cpp easily installable and developable on GNU Guix systems.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.