diff mbox series

[bug#37444,v3,17/23] added go package go-github-com-riywo-loginshell

Message ID 20190926152118.8073-17-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 bb00230b60..9fcf8d8b49 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4137,3 +4137,28 @@  quoting, commenting, and escaping.")
      (synopsis "Golang counters for readers/writers")
      (description "Golang counters for readers/writers")
      (license license:expat))))
+
+(define-public go-github-com-riywo-loginshell
+  (let ((url "https://github.com/riywo/loginshell")
+        (commit "2ed199a032f65b5e6a0a1294abc96b7d3efade86"))
+    (package
+     (name "go-github-com-riywo-loginshell")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1chhpp22kd3r2h84206bvdjj6815n4r6pjq8n9jhav9mfal4qvzj"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/riywo/loginshell"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "A golang library to get the login shell of the current user")
+     (description "A golang library to get the login shell of the current user.")
+     (license license:expat))))