[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: gnu: Add go-golang.org-x-crypto-ssh-terminal.
From: |
Christopher Baines |
Subject: |
01/10: gnu: Add go-golang.org-x-crypto-ssh-terminal. |
Date: |
Tue, 30 Jan 2018 02:45:03 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit d0c2f81c500bf18a592e3ad1b85db6c8f9185415
Author: Christopher Baines <address@hidden>
Date: Sun Jan 21 10:41:37 2018 +0000
gnu: Add go-golang.org-x-crypto-ssh-terminal.
* gnu/packages/terminals.scm (go-golang.org-x-crypto-ssh-terminal): New
variable.
---
gnu/packages/terminals.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 68507cf..3baaf66 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -31,6 +31,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -572,3 +573,39 @@ eye-candy, customizable, and reasonably lightweight.")
It's a terminal emulator with few dependencies, so you don't need a full GNOME
desktop installed to have a decent terminal emulator.")
(license license:gpl2)))
+
+(define-public go-golang.org-x-crypto-ssh-terminal
+ (let ((commit "c78caca803c95773f48a844d3dcab04b9bc4d6dd")
+ (revision "0"))
+ (package
+ (name "go-golang.org-x-crypto-ssh-terminal")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://go.googlesource.com/crypto")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vxlfxr9y681yn2cfh6dbqmq35vvq4f45ay0mm31ffkny9cms0y4"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "golang.org/x/crypto/ssh/terminal"
+ #:unpack-path "golang.org/x/crypto"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
+ (lambda* (#:key outputs #:allow-other-keys)
+ (map (lambda (file)
+ (make-file-writable file))
+ (find-files
+ (string-append (assoc-ref outputs "out")
+
"/src/golang.org/x/crypto/ed25519/testdata")
+ ".*\\.gz$"))
+ #t)))))
+ (synopsis "Support functions for dealing with terminals in Go")
+ (description "@code{terminal} provides support functions for dealing
+with terminals in Go.")
+ (home-page "https://go.googlesource.com/crypto/")
+ (license license:bsd-3))))
- branch master updated (be88eb2 -> 33c88fc), Christopher Baines, 2018/01/30
- 05/10: gnu: Add daemontools., Christopher Baines, 2018/01/30
- 08/10: gnu: Add go-github.com-mattn-go-runewidth., Christopher Baines, 2018/01/30
- 02/10: gnu: Add go-github.com-howeyc-gopass., Christopher Baines, 2018/01/30
- 07/10: gnu: Add go-gopkg.in-tomb.v2., Christopher Baines, 2018/01/30
- 09/10: gnu: Add go-github.com-nsf-termbox-go., Christopher Baines, 2018/01/30
- 04/10: gnu: Add go-gopkg.in-check.v1., Christopher Baines, 2018/01/30
- 06/10: gnu: Add go-gopkg.in-mgo.v2., Christopher Baines, 2018/01/30
- 03/10: gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/30
- 10/10: gnu: Add mongo-tools., Christopher Baines, 2018/01/30
- 01/10: gnu: Add go-golang.org-x-crypto-ssh-terminal.,
Christopher Baines <=