GNU bug report logs - #49802
[PATCH] gnu: Add bitwise.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Sun, 1 Aug 2021 00:30:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49802 in the body.
You can then email your comments to 49802 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#49802; Package guix-patches. (Sun, 01 Aug 2021 00:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 01 Aug 2021 00:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: Julien Lepiller <julien <at> lepiller.eu>, Ryan Prior <rprior <at> protonmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add bitwise.
Date: Sat, 31 Jul 2021 20:29:07 -0400
From: Guix Together <jgart <at> dismail.de>

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

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Julien Lepiller <julien <at> lepiller.eu>
Co-authored-by: Ryan Prior <rprior <at> protonmail.com>
---
 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





Information forwarded to guix-patches <at> gnu.org:
bug#49802; Package guix-patches. (Sun, 01 Aug 2021 00:46:01 GMT) Full text and rfc822 format available.

Message #8 received at 49802 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 49802 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add bitwise.
Date: Sat, 31 Jul 2021 20:44:58 -0400
< Hello Guixers! >
 ---------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Above is the package we worked on from today's guix packaging meetup.

The package is co-authored with Ryan and roptat.

https://github.com/mellowcandle/bitwise

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:

Interactive ncurses interface
Command line calculator supporting all bitwise operations.
Individual bit manipulator.
Bitwise operations such as NOT, OR, AND, XOR, and shifts.




Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Wed, 04 Aug 2021 07:58:01 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Wed, 04 Aug 2021 07:58:01 GMT) Full text and rfc822 format available.

Message #13 received at 49802-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: jgart <jgart <at> dismail.de>
Cc: 49802-done <at> debbugs.gnu.org, Ryan Prior <rprior <at> protonmail.com>,
 Julien Lepiller <julien <at> lepiller.eu>
Subject: Re: [bug#49802] [PATCH] gnu: Add bitwise.
Date: Wed, 4 Aug 2021 10:57:11 +0300
[Message part 1 (text/plain, inline)]
I changed it to use the release tarball, which allowed me to drop
autoconf/automake. Patch pushed!

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 Sep 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.