diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-06-28 20:55:35 +0200 |
---|---|---|
committer | Steve George <steve@futurile.net> | 2025-07-16 13:05:42 +0100 |
commit | 734a1d311df45acab73a629ab0943f6615759496 (patch) | |
tree | 4e50c5291c1e0b563d99e5393af41cc65018156d | |
parent | 412d3573dab8d4ae57b29895e8a460f3e238d297 (diff) |
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 <steve@futurile.net>
-rw-r--r-- | gnu/packages/guile-xyz.scm | 17 |
1 files 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 |