summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-18 10:58:36 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:10 +0100
commit08349a9067802bc6aa43bff907314367fcac6d8c (patch)
treec5ee5de156c7d314cf5391d6ce65c89f46bbf497 /gnu/packages/golang-xyz.scm
parent1b17350379c4775fb3fc6166ad5e26ae7c0fa4be (diff)
gnu: Add go-github-com-peterbourgon-ff-v3.
* gnu/packages/golang-xyz.scm (go-github-com-peterbourgon-ff-v3): New variable. Change-Id: I63622012649442a0921d250c1fefd715090cd747
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index ee8ab56d09..c209dc5d8d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -12946,6 +12946,38 @@ abstraction on top. The end result is a conceptually simple, but highly
performant, disk-backed storage system.")
(license license:expat)))
+(define-public go-github-com-peterbourgon-ff-v3
+ (package
+ (name "go-github-com-peterbourgon-ff-v3")
+ (version "3.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/peterbourgon/ff")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "162qh3mp7xn4qhw7rgigwmg0r52mflwcr07fig5z3k257h0mclar"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/peterbourgon/ff/v3"))
+ (propagated-inputs
+ (list go-github-com-pelletier-go-toml
+ go-gopkg-in-yaml-v2))
+ (home-page "https://github.com/peterbourgon/ff")
+ (synopsis "Flags-first Golang library for configuration")
+ (description
+ "Package ff is a flags-first helper package for configuring programs.
+
+The basic idea is that @code{myprogram -h} should always show the complete
+configuration \"surface area\" of a program. Therefore, every config
+parameter should be defined as a flag. This module provides a simple and
+robust way to define those flags, and to parse them from command-line
+arguments, environment variables, and/or config files.")
+ (license license:asl2.0)))
+
(define-public go-github-com-philhofer-fwd
(package
(name "go-github-com-philhofer-fwd")