guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 734a1d311df45acab73a629ab0943f6615759496
Author: Giacomo Leidi <[email protected]>
AuthorDate: Sat Jun 28 20:55:35 2025 +0200
gnu: guile-dotenv: Update to 0.2.0.
* gnu/packages/guile-xyz.scm (guile-dotenv): Update to 0.2.0.
[arguments]<phases>: Drop command line interface.
[native-inputs]: Add guile-config, to build the entrypoint.
Change-Id: I01974871a779516de1f7897ed841c45a2601f39e
Signed-off-by: Steve George <[email protected]>
---
gnu/packages/guile-xyz.scm | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index dadf81ff95..0777336400 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -872,7 +872,7 @@ generate API documentation for GNU Guile projects.")
(define-public guile-dotenv
(package
(name "guile-dotenv")
- (version "0.1.1")
+ (version "0.2.0")
(source
(origin
(method git-fetch)
@@ -881,15 +881,28 @@ generate API documentation for GNU Guile projects.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0m5jg41cipnpl3w9vzwm50ah0haa2hcwwd7mri7kaa8pr9kfx64j"))))
+ (base32 "0smwlfggvx3dpc1zx8wva9df8nfawcinzizhvk5f3yf7bdyy4rym"))))
(build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'drop-bin-entrypoint
+ ;; The entrypoint requires guile-config,
+ ;; so it is shipped through the guile-dotenv-cli package.
+ ;; This way guile-dotenv does not need to depend on guile-config.
+ (lambda _
+ (invoke "rm" "-rfv" (string-append #$output "/bin")))))))
(native-inputs
(list autoconf
automake
gettext-minimal
+ ;; This is needed only to build the entrypoint.
+ guile-config
pkg-config
texinfo))
(inputs (list guile-3.0))
+ (propagated-inputs (list nyacc))
(synopsis "Read environment variables specifications from @code{.env}
files")
(description "This package provides a simple Guile interface to @code{.env}
(or dotenv) files. It implements parsing of files and setting environment