From ca9fa4a88a4512a04fc3261e33e76eb509aa59eb Mon Sep 17 00:00:00 2001 From: Luis Higino Date: Sat, 1 Jun 2024 05:06:31 +0000 Subject: [PATCH] gnu: Add go-github-com-docopt-docopt-go. * gnu/packages/golang-xyz.scm (go-github-com-docopt-docopt-go): New variable. Change-Id: I70ab7bce1a4ac13e1b63ecb72f5b7df0b8b94b69 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 71e8364f2b..6355178c29 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2024 Herman Rimm ;;; Copyright © 2024 Jesse Eisses ;;; Copyright © 2024 Troy Figiel +;;; Copyright © 2024 Luis Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -1186,6 +1187,33 @@ atimes for files.") mtime,ctime and btime for files.") (license license:expat))) +(define-public go-github-com-docopt-docopt-go + (let ((commit "ee0de3bc6815ee19d4a46c7eb90f829db0e014b1") + (revision "0")) + (package + (name "go-github-com-docopt-docopt-go") + (version (git-version "0.6.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/docopt/docopt.go") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hlra7rmi5pmd7d93rv56ahiy4qkgmq8a6mz0jpadvbi5qh8lq6j")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/docopt/docopt-go")) + (home-page "https://github.com/docopt/docopt.go") + (synopsis "Implementation of docopt in Golang") + (description + "This package provides command-line arguments parser based on written +help message which may simplify crating CLI applications, it's Golang +implementation of http://docopt.org/.") + (license license:expat)))) + (define-public go-github-com-dustin-gojson (package (name "go-github-com-dustin-gojson")