guix-devel
[Top][All Lists]
Advanced

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

Re: Understanding a Golang importer error


From: Simon Tournier
Subject: Re: Understanding a Golang importer error
Date: Thu, 25 May 2023 18:02:51 +0200

Hi,

On jeu., 25 mai 2023 at 16:09, Simon Tournier <zimon.toutoune@gmail.com> wrote:

>> We could also prompt the user of 'guix import' to select a tag.
>
> Well, I know nothing about Go.  Neither about how Go packaging is
> working.  Currently, these tags does not seems appearing in the goproxy
> (https://proxy.golang.org) which is the information used to construct
> the recipe, IIUC.

I correct myself. :-)

See v3 of #63647 which rebases #52362 implementing support of tags.

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix import go 
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
(define-public 
go-go-opentelemetry-io-contrib-instrumentation-google-golang-org-grpc-otelgrpc
  (package
    (name
     
"go-go-opentelemetry-io-contrib-instrumentation-google-golang-org-grpc-otelgrpc")
    (version "0.42.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url
                     
"https://github.com/open-telemetry/opentelemetry-go-contrib";)
                    (commit (string-append
                             "instrumentation/google.golang.org/grpc/otelgrpc/v"
                             version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ny4v9jcv5x6y78dwazsif93r0bcfc17h7rb7q2c9hgnfxx6lap3"))))
    (build-system go-build-system)
    (arguments
     '(#:import-path
       
"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"))
    (propagated-inputs `(("go-gopkg-in-yaml-v3" ,go-gopkg-in-yaml-v3)
                         ("go-google-golang-org-genproto" 
,go-google-golang-org-genproto)
                         ("go-google-golang-org-appengine" 
,go-google-golang-org-appengine)
                         ("go-golang-org-x-text" ,go-golang-org-x-text)
                         ("go-golang-org-x-sys" ,go-golang-org-x-sys)
                         ("go-golang-org-x-oauth2" ,go-golang-org-x-oauth2)
                         ("go-golang-org-x-net" ,go-golang-org-x-net)
                         ("go-github-com-pmezard-go-difflib" 
,go-github-com-pmezard-go-difflib)
                         ("go-github-com-golang-protobuf" 
,go-github-com-golang-protobuf)
                         ("go-github-com-go-logr-stdr" 
,go-github-com-go-logr-stdr)
                         ("go-github-com-go-logr-logr" 
,go-github-com-go-logr-logr)
                         ("go-github-com-davecgh-go-spew" 
,go-github-com-davecgh-go-spew)
                         ("go-cloud-google-com-go-compute-metadata" 
,go-cloud-google-com-go-compute-metadata)
                         ("go-cloud-google-com-go-compute" 
,go-cloud-google-com-go-compute)
                         ("go-google-golang-org-protobuf" 
,go-google-golang-org-protobuf)
                         ("go-google-golang-org-grpc" 
,go-google-golang-org-grpc)
                         ("go-go-opentelemetry-io-otel-trace" 
,go-go-opentelemetry-io-otel-trace)
                         ("go-go-opentelemetry-io-otel-metric" 
,go-go-opentelemetry-io-otel-metric)
                         ("go-go-opentelemetry-io-otel" 
,go-go-opentelemetry-io-otel)
                         ("go-github-com-stretchr-testify" 
,go-github-com-stretchr-testify)))
    (home-page
     
"https://go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc";)
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))
--8<---------------cut here---------------end--------------->8---
    

Cheers,
simon



reply via email to

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