[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: |
Christopher Baines |
Subject: |
[bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal. |
Date: |
Tue, 23 Jan 2018 19:42:06 +0000 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
Leo Famulari <address@hidden> writes:
> 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)?
Sure, those sound like useful helpers.
signature.asc
Description: PGP signature
- [bug#30214] [PATCH 10/10] gnu: Add mongo-tools., (continued)
[bug#30214] [PATCH 05/10] gnu: Add daemontools., Christopher Baines, 2018/01/22
[bug#30214] [PATCH 09/10] gnu: Add go-github.com-nsf-termbox-go., Christopher Baines, 2018/01/22
[bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal., Leo Famulari, 2018/01/22
- [bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal.,
Christopher Baines <=
[bug#30214] [PATCH]: Add mongo-tools., Leo Famulari, 2018/01/22
[bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 02/10] gnu: Add go-github.com-howeyc-gopass., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 07/10] gnu: Add go-gopkg.in-tomb.v2., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 05/10] gnu: Add daemontools., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 09/10] gnu: Add go-github.com-nsf-termbox-go., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 04/10] gnu: Add go-gopkg.in-check.v1., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 10/10] gnu: Add mongo-tools., Christopher Baines, 2018/01/23