Subject: bug#49802: closed (Re: [bug#49802] [PATCH] gnu: Add bitwise.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 04 Aug 2021 07:58:01 +0000

Your bug report

#49802: [PATCH] gnu: Add bitwise.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
49802: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49802
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#49802] [PATCH] gnu: Add bitwise.
From: Efraim Flashner <[email-masked]>
To: jgart <[email-masked]>
Cc: [email-masked], Ryan Prior <[email-masked]>, Julien Lepiller <[email-masked]>
Date: Wed, 4 Aug 2021 10:57:11 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

I changed it to use the release tarball, which allowed me to drop
autoconf/automake. Patch pushed!

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH] gnu: Add bitwise.
From: jgart <[email-masked]>
To: [email-masked]
Cc: Julien Lepiller <[email-masked]>, Ryan Prior <[email-masked]>, Guix Together <[email-masked]>
Date: Sat, 31 Jul 2021 20:29:07 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Guix Together <[email-masked]>

   * gnu/packages/maths.scm (bitwise): New variable.

Co-authored-by: jgart <[email-masked]>
Co-authored-by: Julien Lepiller <[email-masked]>
Co-authored-by: Ryan Prior <[email-masked]>
---
 gnu/packages/maths.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1afe72659a..b0ba18c5c1 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -124,6 +124,7 @@
   #:use-module (gnu packages m4)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages multiprecision)
+  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages netpbm)
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages onc-rpc)
@@ -175,6 +176,41 @@ beginners.")
     (license license:gpl3+)
     (home-page "https://www.gnu.org/software/aris/")))
 
+(define-public bitwise
+  (package
+    (name "bitwise")
+    (version "0.42")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/mellowcandle/bitwise")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256 (base32
+                     "154y0sn3z64z56k84ghsazkyihbkaz40hfwxcxdymnhvhh6m9f3g"))))
+    (build-system gnu-build-system)
+    (inputs `(("ncurses" ,ncurses)
+              ("readline" ,readline)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("cunit" ,cunit)
+       ("pkg-config" ,pkg-config)))
+    (synopsis "Terminal based bit manipulator in ncurses")
+    (description "Bitwise is a multi base interactive calculator supporting dynamic base
+conversion and bit manipulation.  It's a handy tool for low level hackers,
+kernel developers and device drivers developers.
+
+Some of the features include:
+@itemize
+@item Interactive ncurses interface
+@item Command line calculator supporting all bitwise operations.
+@item Individual bit manipulator.
+@item Bitwise operations such as NOT, OR, AND, XOR, and shifts.
+@end itemize")
+    (license license:gpl3+)
+    (home-page "https://github.com/mellowcandle/bitwise/")))
+
 (define-public c-graph
   (package
    (name "c-graph")
-- 
2.32.0