diff options
| author | Roman Scherer <roman@burningswell.com> | 2025-12-24 19:51:08 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-04-14 12:32:12 +0100 |
| commit | 09a4a0fce409c3f85514af01450998a9bed998bc (patch) | |
| tree | 80c461a909f36b59d0b120288c7fd125785111c8 /gnu | |
| parent | d841bf2ec222f6db7d28fe71c8cd0cc4740a35be (diff) | |
gnu: Add github-cli.
* gnu/packages/version-control.scm (github-cli): New variable.
Merges: https://codeberg.org/guix/guix/issues/5190
Change-Id: I1ee51dbef75f8dee5fa691bff098176b1cd32660
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/version-control.scm | 78 |
1 files changed, 75 insertions, 3 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 5d49702a3db..73ba296fc42 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm | |||
| @@ -66,6 +66,7 @@ | |||
| 66 | ;;; Copyright © 2025 Dariqq <dariqq@posteo.net> | 66 | ;;; Copyright © 2025 Dariqq <dariqq@posteo.net> |
| 67 | ;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> | 67 | ;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> |
| 68 | ;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu> | 68 | ;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu> |
| 69 | ;;; Copyright © 2025 Roman Scherer <roman@burningswell.com> | ||
| 69 | ;;; Copyright © 2026 Ingar <ingar@onionmail.info> | 70 | ;;; Copyright © 2026 Ingar <ingar@onionmail.info> |
| 70 | ;;; | 71 | ;;; |
| 71 | ;;; This file is part of GNU Guix. | 72 | ;;; This file is part of GNU Guix. |
| @@ -1762,6 +1763,78 @@ fetch @acronym{PR, pull requests}, and more. It is based on the | |||
| 1762 | supports AGit-Flow and lifts the requirement to use a manifest file.") | 1763 | supports AGit-Flow and lifts the requirement to use a manifest file.") |
| 1763 | (license license:asl2.0))) | 1764 | (license license:asl2.0))) |
| 1764 | 1765 | ||
| 1766 | (define-public github-cli | ||
| 1767 | (package | ||
| 1768 | (name "github-cli") | ||
| 1769 | (version "2.83.2") | ||
| 1770 | (source | ||
| 1771 | (origin | ||
| 1772 | (method git-fetch) | ||
| 1773 | (uri (git-reference | ||
| 1774 | (url "https://github.com/cli/cli") | ||
| 1775 | (commit (string-append "v" version)))) | ||
| 1776 | (file-name (git-file-name name version)) | ||
| 1777 | (sha256 | ||
| 1778 | (base32 "04kpcy15r7px92mf13jf4w0v07sjnfqc09m1vfvr5pmw7xsg35k2")))) | ||
| 1779 | (build-system go-build-system) | ||
| 1780 | (arguments | ||
| 1781 | (list | ||
| 1782 | #:install-source? #f | ||
| 1783 | #:import-path "github.com/cli/cli/v2/cmd/gh" | ||
| 1784 | #:unpack-path "github.com/cli/cli/v2" | ||
| 1785 | #:embed-files | ||
| 1786 | #~(list ".*\\.xml" ".*\\.tmpl" | ||
| 1787 | ;; sigstore-go TUF repository files (root.json, staging_root.json) | ||
| 1788 | ".*_?root\\.json" "trusted_root\\.json" | ||
| 1789 | ;; go-openapi/spec schema files | ||
| 1790 | "jsonschema-draft-04\\.json" "schema\\.json"))) | ||
| 1791 | (native-inputs | ||
| 1792 | (list go-github-com-atotto-clipboard | ||
| 1793 | go-github-com-briandowns-spinner | ||
| 1794 | go-github-com-cenkalti-backoff-v4 | ||
| 1795 | go-github-com-cenkalti-backoff-v5 | ||
| 1796 | go-github-com-charmbracelet-glamour | ||
| 1797 | go-github-com-charmbracelet-huh | ||
| 1798 | go-github-com-charmbracelet-lipgloss | ||
| 1799 | go-github-com-cli-go-gh-v2 | ||
| 1800 | go-github-com-cli-oauth | ||
| 1801 | go-github-com-cli-safeexec | ||
| 1802 | go-github-com-digitorus-timestamp | ||
| 1803 | go-github-com-distribution-reference | ||
| 1804 | go-github-com-gabriel-vasile-mimetype | ||
| 1805 | go-github-com-gdamore-tcell-v2 | ||
| 1806 | go-github-com-gorilla-websocket | ||
| 1807 | go-github-com-hashicorp-go-multierror | ||
| 1808 | go-github-com-hashicorp-go-version | ||
| 1809 | go-github-com-itchyny-timefmt-go | ||
| 1810 | go-github-com-joho-godotenv | ||
| 1811 | go-github-com-makenowjust-heredoc | ||
| 1812 | go-github-com-masterminds-sprig-v3 | ||
| 1813 | go-github-com-microsoft-dev-tunnels | ||
| 1814 | go-github-com-muhammadmuzzammil1998-jsonc | ||
| 1815 | go-github-com-opentracing-opentracing-go | ||
| 1816 | go-github-com-rivo-tview | ||
| 1817 | go-github-com-shurcool-githubv4 | ||
| 1818 | go-github-com-sigstore-sigstore-go | ||
| 1819 | go-github-com-spf13-cobra | ||
| 1820 | go-github-com-spf13-pflag | ||
| 1821 | go-github-com-stretchr-testify | ||
| 1822 | go-github-com-vmihailenco-msgpack-v5 | ||
| 1823 | go-github-com-zalando-go-keyring | ||
| 1824 | go-golang-org-x-sys | ||
| 1825 | go-golang-org-x-term | ||
| 1826 | go-golang-org-x-text | ||
| 1827 | go-google-golang-org-grpc | ||
| 1828 | go-gopkg-in-yaml-v3)) | ||
| 1829 | (home-page "https://cli.github.com/") | ||
| 1830 | (synopsis "GitHub's official command-line tool") | ||
| 1831 | (description | ||
| 1832 | "@command{gh} is GitHub on the command line. It brings pull requests, | ||
| 1833 | issues, and other GitHub concepts to the terminal next to where you are | ||
| 1834 | already working with git and your code. It works with GitHub.com, GitHub | ||
| 1835 | Enterprise Cloud, and GitHub Enterprise Server 2.20+.") | ||
| 1836 | (license license:expat))) | ||
| 1837 | |||
| 1765 | (define-public cgit | 1838 | (define-public cgit |
| 1766 | (package | 1839 | (package |
| 1767 | (name "cgit") | 1840 | (name "cgit") |
| @@ -4837,9 +4910,8 @@ comes as a command line app and also an Emacs interface.") | |||
| 4837 | go-gopkg-in-yaml-v3)) | 4910 | go-gopkg-in-yaml-v3)) |
| 4838 | (home-page "https://github.com/github/git-sizer") | 4911 | (home-page "https://github.com/github/git-sizer") |
| 4839 | (synopsis "Analyze size of a Git repo") | 4912 | (synopsis "Analyze size of a Git repo") |
| 4840 | (description | 4913 | (description "Compute various size metrics for a Git repository, flagging |
| 4841 | "Compute various size metrics for a Git repository, flagging those that | 4914 | those that might cause problems or inconvenience.") |
| 4842 | might cause problems or inconvenience.") | ||
| 4843 | (license license:expat))) | 4915 | (license license:expat))) |
| 4844 | 4916 | ||
| 4845 | ;;; | 4917 | ;;; |
