[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47539] [PATCH 28/28] gnu: Add gh.
From: |
Xinglu Chen |
Subject: |
[bug#47539] [PATCH 28/28] gnu: Add gh. |
Date: |
Thu, 01 Apr 2021 10:02:38 +0200 |
* gnu/packages/version-control.scm (gh): New variable.
---
gnu/packages/version-control.scm | 92 ++++++++++++++++++++++++++++++++
1 file changed, 92 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index e7fa6e6777..1d3f8d1b7c 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -118,6 +118,7 @@
#:use-module (gnu packages sdl)
#:use-module (gnu packages swig)
#:use-module (gnu packages sync)
+ #:use-module ((gnu packages syncthing) #:select
(go-github-com-kballard-go-shellquote))
#:use-module (gnu packages tcl)
#:use-module (gnu packages textutils)
#:use-module (gnu packages time)
@@ -3021,6 +3022,97 @@ commit message side by side
If several repos are related, it helps to see their status together.")
(license license:expat))))
+(define-public gh
+ (package
+ (name "gh")
+ (version "1.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cli/cli.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "009jh1i1ji7d773ismifdw4qvwlb8s1zn14d0n84j9h3n0hyynbc"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path
+ "github.com/cli/cli/cmd/gh"
+ #:unpack-path
+ "github.com/cli/cli"))
+ (native-inputs
+ `(("go" ,go)))
+ (inputs
+ `(("go-github-com-cli-shurcool-graphql"
+ ,go-github-com-cli-shurcool-graphql)
+ ("go-gopkg-in-yaml-v3" ,go-gopkg-in-yaml-v3)
+ ("go-golang-org-x-text" ,go-golang-org-x-text)
+ ("go-golang-org-x-sync" ,go-golang-org-x-sync)
+ ("go-golang-org-x-crypto"
+ ,go-golang-org-x-crypto)
+ ("go-github-com-stretchr-testify"
+ ,go-github-com-stretchr-testify)
+ ("go-github-com-spf13-pflag"
+ ,go-github-com-spf13-pflag)
+ ("go-github-com-spf13-cobra"
+ ,go-github-com-spf13-cobra)
+ ("go-github-com-shurcool-githubv4"
+ ,go-github-com-shurcool-githubv4)
+ ("go-github-com-rivo-uniseg"
+ ,go-github-com-rivo-uniseg)
+ ("go-github-com-muesli-termenv"
+ ,go-github-com-muesli-termenv)
+ ("go-github-com-mitchellh-go-homedir"
+ ,go-github-com-mitchellh-go-homedir)
+ ("go-github-com-mgutz-ansi"
+ ,go-github-com-mgutz-ansi)
+ ("go-github-com-mattn-go-runewidth"
+ ,go-github-com-mattn-go-runewidth)
+ ("go-github-com-mattn-go-isatty"
+ ,go-github-com-mattn-go-isatty)
+ ("go-github-com-mattn-go-colorable"
+ ,go-github-com-mattn-go-colorable)
+ ("go-github-com-kballard-go-shellquote"
+ ,go-github-com-kballard-go-shellquote)
+ ("go-github-com-itchyny-gojq"
+ ,go-github-com-itchyny-gojq)
+ ("go-github-com-henvic-httpretty"
+ ,go-github-com-henvic-httpretty)
+ ("go-github-com-hashicorp-go-version"
+ ,go-github-com-hashicorp-go-version)
+ ("go-github-com-google-shlex"
+ ,go-github-com-google-shlex)
+ ("go-github-com-google-go-cmp-cmp"
+ ,go-github-com-google-go-cmp-cmp)
+ ("go-github-com-gabriel-vasile-mimetype"
+ ,go-github-com-gabriel-vasile-mimetype)
+ ("go-github-com-enescakir-emoji"
+ ,go-github-com-enescakir-emoji)
+ ("go-github-com-cpuguy83-go-md2man-v2"
+ ,go-github-com-cpuguy83-go-md2man-v2)
+ ("go-github-com-cli-safeexec"
+ ,go-github-com-cli-safeexec)
+ ("go-github-com-cli-oauth"
+ ,go-github-com-cli-oauth)
+ ("go-github-com-cli-browser"
+ ,go-github-com-cli-browser)
+ ("go-github-com-briandowns-spinner"
+ ,go-github-com-briandowns-spinner)
+ ("go-github-com-makenowjust-heredoc"
+ ,go-github-com-makenowjust-heredoc)
+ ("go-github-com-alecaivazis-survey-v2"
+ ,go-github-com-alecaivazis-survey-v2)
+ ("go-github-com-charmbracelet-glamour"
+ ,go-github-com-charmbracelet-glamour)))
+ (home-page "https://github.com/cli/cli")
+ (synopsis "GitHub CLI tool")
+ (description "@command{gh} is GitHub on the command line. It brings pull
+requests, issues, and other GitHub concepts to the terminal next to where you
+are already working with Git and your code.")
+ (license license:expat)))
+
(define-public ghq
(package
(name "ghq")
--
2.31.1
- [bug#47539] [PATCH 14/28] gnu: Add go-github-com-cpuguy83-go-md2man-v2., (continued)
- [bug#47539] [PATCH 14/28] gnu: Add go-github-com-cpuguy83-go-md2man-v2., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 18/28] gnu: Add go-github-com-henvic-httpretty., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 03/28] gnu: Add go-github-com-creack-pty., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 09/28] gnu: Add go-github-com-cli-browser., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 17/28] gnu: Add go-github-com-google-shlex., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 11/28] gnu: Add go-github-com-cli-safeexec., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 15/28] gnu: Add go-github-com-enescakir-emoji., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 12/28] gnu: Add go-github-com-russross-blackfriday-v2., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 19/28] gnu: Add go-github-com-itchyny-go-flags., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 16/28] gnu: Add go-github-com-gabriel-vasile-mimetype., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 28/28] gnu: Add gh.,
Xinglu Chen <=
- [bug#47539] [PATCH 00/28] Add gh and dependencies, Leo Prikler, 2021/04/01
- [bug#47539] [PATCH 00/28] Add gh and dependencies, Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 00/28] Add gh and dependencies, Leo Prikler, 2021/04/01
- [bug#47539] [PATCH 00/28] Add gh and dependencies, Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH 00/28] Add gh and dependencies, Leo Prikler, 2021/04/01
- [bug#47539] [PATCH 00/28] Add gh and dependencies, Jack Hill, 2021/04/01
- [bug#47539] [PATCH 00/28] Add gh and dependencies, Xinglu Chen, 2021/04/01
- [bug#47539] [ SPAM? ] Re: [bug#47539] [PATCH 00/28] Add gh and dependencies, Leo Prikler, 2021/04/01
- [bug#47539] [PATCH 00/28] Add gh and dependencies, Xinglu Chen, 2021/04/01
[bug#47539] [PATCH v2 00/26] Add github-cli and dependencies, Xinglu Chen, 2021/04/01