guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55903] [PATCH 06/41] gnu: Add go-github-com-riywo-loginshell.


From: (unmatched-parenthesis
Subject: [bug#55903] [PATCH 06/41] gnu: Add go-github-com-riywo-loginshell.
Date: Sat, 11 Jun 2022 20:16:18 +0100

* gnu/packages/golang.scm (go-github-com-riywo-loginshell): New
  variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b4fc3ed2b9..6dbdf065b1 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9958,3 +9958,30 @@ (define-public go-github-com-xo-terminfo
     (description
      "Package terminfo implements terminfo database reading in pure Go.")
     (license license:expat)))
+
+(define-public go-github-com-riywo-loginshell
+  (package
+    (name "go-github-com-riywo-loginshell")
+    (version "0.0.0-20200815045211-7d26008be1ab")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/riywo/loginshell";)
+                    (commit (go-version->git-ref version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "138yvis6lipw9x02jyiz7472bxi20206bcfikcar54i3xsww9q4i"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path
+           "github.com/riywo/loginshell"
+           ;; Tests try to get the current user's login shell; the build
+           ;; user doesn't have one.
+           #:tests? #f))
+    (home-page "https://github.com/riywo/loginshell";)
+    (synopsis "Get the user's login shell in Go")
+    (description
+     "This package provides a Go library to get the login shell of the
+current user.")
+    (license license:expat)))
-- 
2.36.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]