[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg.
From: |
Sharlatan Hellseher |
Subject: |
[bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg. |
Date: |
Sun, 30 Jun 2024 10:05:45 +0100 |
* gnu/packages/golang-xyz.scm (go-github-com-adrg-xdg): New variable.
Change-Id: I6a7576d45c84e864d6db915784e32606b1008710
---
gnu/packages/golang-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index ae3eda6936..7b92ef052f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -316,6 +316,46 @@ (define-public go-github-com-adrg-strutil
similarity as well as other string utility functions.")
(license license:expat)))
+(define-public go-github-com-adrg-xdg
+ (package
+ (name "go-github-com-adrg-xdg")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/adrg/xdg")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xbkb8wmr6phj2ppr75akc58jdzrv20gc3mkxa1mmb968isy8s6c"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/adrg/xdg"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Tests need HOME to be set: could not create any of the following
+ ;; paths: /homeless-shelter/.local/data,
+ ;; /homeless-shelter/.local/data, /usr/share
+ (add-before 'check 'set-home
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-golang-org-x-sys))
+ (home-page "https://github.com/adrg/xdg")
+ (synopsis "XDG specification implementation for Golang")
+ (description
+ "Package xdg provides an implementation of the @acronym{XDG, X Desktop
+Group} Base Directory Specification. The specification defines a set of
+standard paths for storing application files including data and configuration
+files. For portability and flexibility reasons, applications should use the
+XDG defined locations instead of hardcoding paths. The package also includes
+the locations of well known user directories.")
+ (license license:expat)))
+
(define-public go-github-com-alecthomas-chroma
(package
(name "go-github-com-alecthomas-chroma")
--
2.41.0
- [bug#71843] [PATCH 00/26] Update and unbundle vale - part I, Sharlatan Hellseher, 2024/06/29
- [bug#71843] [PATCH 01/26] gnu: Add packages/golang-math module., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 06/26] gnu: Add go-github-com-dsnet-golib., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 02/26] gnu: Add go-github-com-montanaflynn-stats., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 03/26] gnu: Add go-github-com-shopspring-decimal., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg.,
Sharlatan Hellseher <=
- [bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 08/26] gnu: Add go-github-com-expr-lang-expr., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 04/26] gnu: Add go-github-com-adrg-strutil., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 15/26] gnu: Add go-github-com-otiai10-copy., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 12/26] gnu: Add go-github-com-gookit-color., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 13/26] gnu: Add go-atomicgo-dev-assert., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 19/26] gnu: Add go-github-com-errata-ai-ini., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 21/26] gnu: Add go-atomicgo-dev-schedule., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 10/26] gnu: Add go-tengo., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 14/26] gnu: Add go-github-com-otiai10-mint., Sharlatan Hellseher, 2024/06/30