Add keywords for generating manifest and guix.scm files

This commit is contained in:
TakeV 2023-07-10 02:40:25 -07:00
parent 8e48f8fedb
commit c98bcc824e
Signed by: TakeV
GPG Key ID: A64F41345C7400AF
1 changed files with 11 additions and 10 deletions

View File

@ -32,21 +32,22 @@
(handler canonicalize-path)
(synopsis "Directory to download source code to")
(example "~/src"))
(setting (name 'config-dir)
(default (or (getenv "XDG_CONFIG_HOME")
(format #f "~a/.config" (getenv "HOME"))))
(test file-exists?)
(handler canonicalize-path)
(synopsis "Directory to search for profile manifests")
(example "~/.config/guix-conjure"))))
(setting (name 'with-manifest)
(default #f)
(test boolean?)
(synaopsis "Create a manifest file with the package's development dependencies"))
(setting (name 'with-guix-file)
(default #f)
(test boolean?)
(synaopsis "Create a local version of the package's definition in guix.scm"))))
(subcommands
(list
(configuration
(name 'summon)
(synopsis "Retrieves the source code of a package, and places it within the project directory, while configuring all permissions.")
(synopsis "Retrieves the source code of a package, and places it within the project directory, while configuring all permissions")
(description
"Uses guix build --source to obtain a package's source code, decompressing if required, and places the resulting source in the project directory.")
(wanted '((keywords project-dir)))
"Uses guix build --source to obtain a package's source code, decompressing if required, and places the resulting source in the project directory")
(wanted '((keywords . (project-dir with-manifest with-guix-file))))
(arguments
(list
(argument (name 'package)