diff mbox series

[bug#37444,v3,14/23] added go package go-github-com-kyoh86-xdg

Message ID 20190926152118.8073-14-mjbecze@riseup.net
State Accepted
Headers show
Series [bug#37444,v3,01/23] added go package go-github-com-mattn-go-pointer | expand

Commit Message

Martin Becze Sept. 26, 2019, 3:21 p.m. UTC
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6c178a2102..ccb11a83c0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4062,3 +4062,28 @@  gist (https://gist.github.com/kballard/272720)")
      (description "go-shlex is a simple lexer for go that supports shell-style 
 quoting, commenting, and escaping.")
      (license license:asl2.0))))
+
+(define-public go-github-com-kyoh86-xdg
+  (let ((url "https://github.com/kyoh86/xdg"))
+    (package
+     (name "go-github-com-kyoh86-xdg")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "02wrm9rl6qqv3nr2n5yariwg1rgr7w76l1sp0ak1kxin1y184ivf"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/kyoh86/xdg"))
+     (home-page url)
+     (synopsis "Light weight helper functions in golang to get config, data and
+ cache files according to the XDG Base Directory Specification")
+     (description "Light weight helper functions in golang to get config, data
+ and cache files according to the XDG Base Directory Specification.")
+     (license license:expat))))