Subject: [bug#27464] [PATCH] gnu: Add ht.

From: Gábor Boskovits <[email-masked]>
Date: Fri, 23 Jun 2017 18:16:12 +0200

* gnu/packages/hexedit.scm (ht): New variable.
---
 gnu/packages/hexedit.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm
index d2aaec306..7fc5a20ff 100644
--- a/gnu/packages/hexedit.scm
+++ b/gnu/packages/hexedit.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016 Kei Kebreau <[email-masked]>
+;;; Copyright © 2017 Gábor Boskovits <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -44,3 +45,23 @@ file can be a device as the file is read a piece at a time.  You can modify
 the file and search through it.")
     (home-page "http://rigaux.org/hexedit.html")
     (license license:gpl2+)))
+
+(define-public ht
+  (package
+    (name "ht")
+    (version "2.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://sourceforge.net/projects/hte/files/ht-source/"
+                                  name "-" version ".tar.bz2"))
+              (sha256
+                (base32
+                  "0w2xnw3z9ws9qrdpb80q55h6ynhh3aziixcfn45x91bzrbifix9i"))))
+    (build-system gnu-build-system)
+    (inputs `(("ncurses",ncurses)))
+    (synopsis "The HT Editor: A file editor/viewer/analyzer for executables")
+    (description "This program is a file viewer, editor and analyzer for text, binary,
+and (especially) executable files.")
+    (home-page "http://hte.sourceforge.net/")
+    (license license:gpl2)))
+
-- 
2.13.0