GNU bug report logs - #44562
[PATCH 01/15] gnu: Add go-github-com-leodido-go-urn.

Previous Next

Package: guix-patches;

Reported by: Joseph LaFreniere <joseph <at> lafreniere.xyz>

Date: Tue, 10 Nov 2020 22:39:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 44562 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Joseph LaFreniere <joseph <at> lafreniere.xyz>
Cc: 44562 <at> debbugs.gnu.org
Subject: Re: [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn.
Date: Sun, 3 Jan 2021 17:23:54 +0200
[Message part 1 (text/plain, inline)]
On Tue, Nov 10, 2020 at 04:37:56PM -0600, Joseph LaFreniere wrote:
> This is building toward github.com/x-motemen/ghq.  I'm not a Go developer
> and didn't find golang.scm to be entirely consistent in its conventions, so
> I'm anticipating some cleanup of these patches will be required.
> 
> --
> Joseph LaFreniere

> From a806f9922aaccacb30c920bacde94edcc9a630af Mon Sep 17 00:00:00 2001
> From: Joseph LaFreniere <joseph <at> lafreniere.xyz>
> Date: Sun, 26 Jul 2020 17:34:08 -0500
> Subject: [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn.
> 
> * gnu/packages/golang.scm (go-github-com-leodido-go-urn): New variable.
> ---
>  gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
> index 82573bd099..43f9a5ed74 100644
> --- a/gnu/packages/golang.scm
> +++ b/gnu/packages/golang.scm
> @@ -480,6 +480,31 @@ jar struct to manage the cookies added to the cookie jar.")
>        (home-page "https://github.com/aki237/nscjar")
>        (license license:expat))))
>  
> +(define-public go-github-com-leodido-go-urn
> +  (package
> +    (name "go-github-com-leodido-go-urn")
> +    (version "1.2.0")
> +    (home-page "https://github.com/leodido/go-urn")
> +    (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 "1d4g1vkhc1180l1n7q48vl84b27c7cziywml78cyijbcdz2f8vim"))))
> +    (build-system go-build-system)
> +    (arguments
> +     '(#:import-path "github.com/leodido/go-urn"))
> +    (inputs
> +     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))

This one was needed only for the tests so I moved it to native-inputs

> +    (synopsis "Parser for uniform resource names as seen on RFC 2141")
> +    (description
> +     "This package implements a parser for uniform resource names (URN) as
> +specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.")
> +    (license license:expat)))
> +
>  (define-public go-github.com-jessevdk-go-flags
>    (package
>      (name "go-github.com-jessevdk-go-flags")
> -- 
> 2.29.2
> 


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.