unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom via Guix-patches via <guix-patches@gnu.org>
To: 40782@debbugs.gnu.org
Subject: [bug#40782] new package; hexer
Date: Wed, 22 Apr 2020 22:38:46 +0200	[thread overview]
Message-ID: <5401348.DvuYhMxLoT@peach> (raw)

[-- Attachment #1: Type: text/plain, Size: 104 bytes --]

This is a text editor for binary files, please let me know if you are Ok with 
the file I picked for it.

[-- Attachment #2: 0001-gnu-Add-hexer.patch --]
[-- Type: text/x-patch, Size: 2029 bytes --]

From 2c0ba963679e37f444094ec4b5f21160d27ab361 Mon Sep 17 00:00:00 2001
From: TomZ <tomz@freedommail.ch>
Date: Wed, 22 Apr 2020 22:31:03 +0200
Subject: [PATCH] gnu: Add hexer

* gnu/packages/text-editors.scm (hexer): New Variable
---
 gnu/packages/text-editors.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 36571e7846..9af3b15f8d 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -967,3 +967,35 @@ keybindings, autocomplete and unlimited undo.  It can pipe a marked block
 of text through any command line filter.  It can also open very large binary
 files.  It was originally developed on the Amiga 3000T.")
     (license license:gpl3+)))
+
+(define-public hexer
+  (package
+    (name "hexer")
+    (version "1.0.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://devel.ringlet.net/files/editors/hexer/"
+                            "hexer-" version ".tar.xz"))
+        (sha256
+          (base32 "14ap9zmwya9m8v896jdvjkbv234yl8w9wfa4apyfh14vcgjkb8rr"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:make-flags
+       (list "CC=gcc"
+             (string-append "PREFIX=" (assoc-ref %outputs "out"))
+             (string-append "LTERMCAP=-lncurses")
+             (string-append "LDFLAGS=-L" (assoc-ref %build-inputs "ncurses")
+                            "/lib"))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))            ;no configure script
+    (inputs
+     `(("ncurses" ,ncurses)))
+    (home-page "https://devel.ringlet.net/editors/hexer/")
+    (synopsis "Multi buffer editor for binary files with vi-like interface")
+    (description "Hexer is a multi-buffer editor for binary files for Unix-like systems
+that displays its buffer(s) as a hex dump.  The user interface is kept
+similar to vi/ex.")
+    (license license:bsd-3)))
-- 
2.26.2


             reply	other threads:[~2020-04-22 20:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 20:38 Tom via Guix-patches via [this message]
2020-05-01 17:05 ` [bug#40782] patch#40782 new package; hexer Brice Waegeneire
2020-05-01 22:55   ` Kyle Meyer
2020-05-02 10:37 ` [bug#40782] Update Tom via Guix-patches via
2020-05-06  9:14 ` bug#40782: patch#40782 new package; hexer Brice Waegeneire

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5401348.DvuYhMxLoT@peach \
    --to=guix-patches@gnu.org \
    --cc=40782@debbugs.gnu.org \
    --cc=tomz@freedommail.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).