Subject: [bug#39191] [PATCH] gnu: Add bvi.

From: Jakub Kądziołka <[email-masked]>
Date: Sun, 19 Jan 2020 13:44:10 +0100

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

diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm
index 9aea8e8700..39dcb2e0f7 100644
--- a/gnu/packages/hexedit.scm
+++ b/gnu/packages/hexedit.scm
@@ -80,3 +80,25 @@ low-level functionality of a debugger with the usability of an @dfn{Integrated
 Development Environment} (IDE).")
     (home-page "http://hte.sourceforge.net/")
     (license license:gpl2)))
+
+(define-public bvi
+  (package
+    (name "bvi")
+    (version "1.4.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://sourceforge/bvi/bvi/" version
+                    "/bvi-" version ".src.tar.gz"))
+              (sha256
+               (base32
+                "0a0yl0dcyff31k3dr4dpgqmlwygp8iaslnr5gmb6814ylxf2ad9h"))))
+    (build-system gnu-build-system)
+    (arguments '(#:tests? #f))          ; no check target
+    (inputs
+     `(("ncurses" ,ncurses)))
+    (synopsis "binary file editor")
+    (description "bvi is a display-oriented editor for binary files, based on
+the vi text editor.")
+    (home-page "http://bvi.sourceforge.net/")
+    (license license:gpl3)))
-- 
2.25.0