summaryrefslogtreecommitdiff
path: root/gnu/packages/guile-xyz.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2025-06-20 12:55:27 +0200
committerjgart <jgart@dismail.de>2025-06-20 11:42:13 -0400
commite2417b4895567632bfa37ca7263f86712618a281 (patch)
treee2f3ed1ef298b9139a9b61b396e8c8c4af00d8dc /gnu/packages/guile-xyz.scm
parent6004e11219422bf5119e538677a98b3e02a34a7f (diff)
gnu: Add guile-dotenv.
* gnu/packages/guile-xyz.scm (guile-dotenv): New variable. Change-Id: I4b97e6b0fb18280c391b99d5b6f512f9b08ba06b
Diffstat (limited to 'gnu/packages/guile-xyz.scm')
-rw-r--r--gnu/packages/guile-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 523e8c7502..d34c33ea6f 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -56,6 +56,7 @@
;;; Copyright © 2025 Florian Pelz <pelzflorian@pelzflorian.de>
;;; Copyright © 2025 Libre en Communs <contact@a-lec.org>
;;; Copyright © 2025 Noé Lopez <noelopez@free.fr>
+;;; Copyright © 2025 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -868,6 +869,34 @@ you send to a FIFO file.")
generate API documentation for GNU Guile projects.")
(license license:public-domain)))
+(define-public guile-dotenv
+ (package
+ (name "guile-dotenv")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/fishinthecalculator/dotenv.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0m5jg41cipnpl3w9vzwm50ah0haa2hcwwd7mri7kaa8pr9kfx64j"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list autoconf
+ automake
+ gettext-minimal
+ pkg-config
+ texinfo))
+ (inputs (list guile-3.0))
+ (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
+variables from them.")
+ (home-page "https://codeberg.org/fishinthecalculator/dotenv")
+ (license license:gpl3+)))
+
(define-public guile-dsv
(package
(name "guile-dsv")