[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/30: gnu: Add go-github-com-adrg-xdg.
From: |
guix-commits |
Subject: |
05/30: gnu: Add go-github-com-adrg-xdg. |
Date: |
Wed, 3 Jul 2024 17:59:20 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit f0462a38da67e911c3b86327b140d535ee70f459
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Apr 29 20:47:16 2024 +0100
gnu: Add go-github-com-adrg-xdg.
* 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 @@ substitution.")
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")
- branch master updated (45f8f97147 -> ddbbb78786), guix-commits, 2024/07/03
- 04/30: gnu: Add go-github-com-adrg-strutil., guix-commits, 2024/07/03
- 06/30: gnu: Add go-github-com-dsnet-golib., guix-commits, 2024/07/03
- 08/30: gnu: Add go-github-com-expr-lang-expr., guix-commits, 2024/07/03
- 10/30: gnu: Add go-tengo., guix-commits, 2024/07/03
- 02/30: gnu: Add go-github-com-montanaflynn-stats., guix-commits, 2024/07/03
- 03/30: gnu: Add go-github-com-shopspring-decimal., guix-commits, 2024/07/03
- 05/30: gnu: Add go-github-com-adrg-xdg.,
guix-commits <=
- 01/30: gnu: Add packages/golang-math module., guix-commits, 2024/07/03
- 07/30: gnu: Add go-github-com-dsnet-compress., guix-commits, 2024/07/03
- 09/30: gnu: Add go-github-com-d5-tengo-v2., guix-commits, 2024/07/03
- 11/30: gnu: Add go-github-com-remeh-sizedwaitgroup., guix-commits, 2024/07/03
- 12/30: gnu: Add go-github-com-gookit-color., guix-commits, 2024/07/03
- 13/30: gnu: Add go-atomicgo-dev-assert., guix-commits, 2024/07/03
- 19/30: gnu: Add go-github-com-errata-ai-ini., guix-commits, 2024/07/03
- 22/30: gnu: Add go-atomicgo-dev-keyboard., guix-commits, 2024/07/03
- 14/30: gnu: Add go-github-com-otiai10-mint., guix-commits, 2024/07/03
- 15/30: gnu: Add go-github-com-otiai10-copy., guix-commits, 2024/07/03