gnu: Add go-github-com-kyoh86-xdg.
author(unmatched-parenthesis <paren@disroot.org>
Fri, 21 Oct 2022 21:11:02 +0000 (22:11 +0100)
committerRaghav Gururajan <rg@raghavgururajan.name>
Sun, 20 Nov 2022 04:45:29 +0000 (23:45 -0500)
* gnu/packages/golang.scm (go-github-com-kyoh86-xdg): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
gnu/packages/golang.scm

index b3df51e..28730f1 100644 (file)
@@ -10532,6 +10532,30 @@ email library.")
 of the current user.")
     (license license:expat)))
 
+(define-public go-github-com-kyoh86-xdg
+  (package
+    (name "go-github-com-kyoh86-xdg")
+    (version "1.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/kyoh86/xdg")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0a5nz53fdz1c2qvwlf2dpjdd72nxri95i6q4b07c37kiipgaxncn"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/kyoh86/xdg"))
+    (home-page "https://github.com/kyoh86/xdg")
+    (synopsis "XDG base directories for Go")
+    (description
+     "The xdg package provides lightweight helper functions in Go to get
+config, data and cache directories according to the XDG Base Directory
+Specification.")
+    (license license:expat)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar