guix-patches
[Top][All Lists]
Advanced

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

[bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal.


From: Leo Famulari
Subject: [bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal.
Date: Mon, 22 Jan 2018 16:52:13 -0500
User-agent: Mutt/1.9.2 (2017-12-15)

On Mon, Jan 22, 2018 at 09:08:21PM +0000, Christopher Baines wrote:
> * gnu/packages/terminals.scm (go-golang.org-x-crypto-ssh-terminal): New
>   variable.

> +(define-public go-golang.org-x-crypto-ssh-terminal
> +  (let ((commit "c78caca803c95773f48a844d3dcab04b9bc4d6dd")
> +        (revision "0"))
> +    (package
> +      (name "go-golang.org-x-crypto-ssh-terminal")
> +      (version (string-append "0.0.0-" revision "." (string-take commit 7)))

Can you use (git-version "0.0.0" revision commit) here?

> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://go.googlesource.com/crypto";)
> +                      (commit commit)))
> +                (file-name (string-append "go.googlesource.com-crypto-"
> +                                          version "-checkout"))

And here, (git-file-name name version)?

Attachment: signature.asc
Description: PGP signature


reply via email to

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