unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Joseph LaFreniere <joseph@lafreniere.xyz>
To: 44562@debbugs.gnu.org
Subject: [bug#44562] [PATCH 14/15] gnu: Add go-github-com-x-motemen-ghq.
Date: Tue, 10 Nov 2020 16:54:01 -0600	[thread overview]
Message-ID: <871rh0962e.fsf@lafreniere.xyz> (raw)
In-Reply-To: <87361galdn.fsf@lafreniere.xyz>

[-- Attachment #1: Type: text/plain, Size: 22 bytes --]


--
Joseph LaFreniere

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0014-gnu-Add-go-github-com-x-motemen-ghq.patch --]
[-- Type: text/x-patch, Size: 3082 bytes --]

From 77389b438ddacdfec2b8c46182297b7bd9326be8 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 13:11:51 -0600
Subject: [PATCH 14/15] gnu: Add go-github-com-x-motemen-ghq.

* gnu/packages/golang.scm (go-github-com-x-motemen-ghq): New variable.
---
 gnu/packages/golang.scm | 45 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4e741f4504..8a45e64efa 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -58,6 +58,7 @@
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages web)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
@@ -6407,3 +6408,47 @@ modifying them.")
        "This package provides an HTML5-compliant tokenizer and parser.")
       (home-page "https://godoc.org/golang.org/x/net/html")
       (license license:bsd-3))))
+
+(define-public go-github-com-x-motemen-ghq
+  (package
+    (name "go-github-com-x-motemen-ghq")
+    (version "1.1.5")
+    (home-page "https://github.com/x-motemen/ghq")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "098fik155viylq07az7crzbgswcvhpx0hr68xpvyx0rpri792jbq"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/x-motemen/ghq"))
+    (native-inputs
+     `(("github.com/go/md2man" ,go-github-com-go-md2man)))
+    (inputs
+     `(("github.com/Songmu/gitconfig" ,go-github-com-Songmu-gitconfig)
+       ("github.com/daviddengcn/go-colortext" ,go-github-com-daviddengcn-go-colortext)
+       ("github.com/fatih/color" ,go-github-com-fatih-color)
+       ("github.com/goccy/yaml" ,go-github-com-goccy-yaml)
+       ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
+       ("github.com/motemen/go-colorine" ,go-github-com-motemen-go-colorine)
+       ("github.com/saracen/walker" ,go-github-com-saracen-walker)
+       ("github.com/urfave/cli/v2" ,go-github-com-urfave-cli-v2)
+       ("golang.org/x/net/html" ,go-golang.org-x-net-html)
+       ("golang.org/x/sync/errgroup" ,go-golang.org-x-sync-errgroup)
+       ("golang.org/x/xerrors" ,go-golang-org-x-xerrors)
+       ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)
+       ("perl" ,perl)))
+    (propagated-inputs
+     `(("fossil" ,fossil)
+       ("git" ,git-minimal)))
+    (synopsis "Manage remote repository clones")
+    (description
+     "code{ghq} provides a way to organize remote repository clones, like
+@code{go get} does.  When you clone a remote repository by @code{ghq get}, ghq
+makes a directory under a specific root directory (by default @file{~/ghq})
+using the remote repository URL's host and path.")
+    (license license:expat)))
-- 
2.29.2


  parent reply	other threads:[~2020-11-10 22:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
2020-11-10 22:45 ` [bug#44562] [PATCH 02/15] gnu: Add go-github-com-go-playground-locales Joseph LaFreniere
2020-11-10 22:46 ` [bug#44562] [PATCH 03/15] gnu: Add go-github-com-go-playground-universal-translator Joseph LaFreniere
2020-11-10 22:47 ` [bug#44562] [PATCH 04/15] gnu: Add go-gopkg-in-go-playground-assert-v1 Joseph LaFreniere
2020-11-10 22:47 ` [bug#44562] [PATCH 05/15] gnu: Add go-gopkg-in-go-playground-validator-v9 Joseph LaFreniere
2020-11-10 22:48 ` [bug#44562] [PATCH 06/15] gnu: Add go-github-com-goccy-yaml Joseph LaFreniere
2020-11-10 22:49 ` [bug#44562] [PATCH 07/15] gnu: Add go-github-com-Songmu-gitconfig Joseph LaFreniere
2020-11-10 22:49 ` [bug#44562] [PATCH 08/15] gnu: Add go-github-com-golangplus-fmt Joseph LaFreniere
2020-11-10 22:50 ` [bug#44562] [PATCH 09/15] gnu: Add go-github-com-golangplus-testing Joseph LaFreniere
2020-11-10 22:50 ` [bug#44562] [PATCH 10/15] gnu: Add go-github-com-daviddengcn-go-colortext Joseph LaFreniere
2020-11-10 22:52 ` [bug#44562] [PATCH 11/15] gnu: Add go-github-com-motemen-go-colorine Joseph LaFreniere
2020-11-10 22:53 ` [bug#44562] [PATCH 12/15] gnu: Add go-golang.org-x-net-html Joseph LaFreniere
2020-11-10 22:53 ` [bug#44562] [PATCH 13/15] gnu: Add go-github-com-urfave-cli-v2 Joseph LaFreniere
2020-11-10 22:54 ` Joseph LaFreniere [this message]
2020-11-10 22:54 ` [bug#44562] [PATCH 15/15] gnu: Add ghq Joseph LaFreniere
2021-01-03 15:24   ` bug#44562: " Efraim Flashner
2021-01-03 15:23 ` [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rh0962e.fsf@lafreniere.xyz \
    --to=joseph@lafreniere.xyz \
    --cc=44562@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).