From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 49802@debbugs.gnu.org
Cc: Julien Lepiller <julien@lepiller.eu>,
Ryan Prior <rprior@protonmail.com>,
Guix Together <jgart@dismail.de>
Subject: [bug#49802] [PATCH] gnu: Add bitwise.
Date: Sat, 31 Jul 2021 20:29:07 -0400 [thread overview]
Message-ID: <20210801002907.4291-1-jgart@dismail.de> (raw)
From: Guix Together <jgart@dismail.de>
* gnu/packages/maths.scm (bitwise): New variable.
Co-authored-by: jgart <jgart@dismail.de>
Co-authored-by: Julien Lepiller <julien@lepiller.eu>
Co-authored-by: Ryan Prior <rprior@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
next reply other threads:[~2021-08-01 0:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-01 0:29 jgart via Guix-patches via [this message]
2021-08-04 7:57 ` bug#49802: [PATCH] gnu: Add bitwise Efraim Flashner
-- strict thread matches above, loose matches on Subject: below --
2021-08-01 0:44 [bug#49802] " jgart via Guix-patches via
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=20210801002907.4291-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=49802@debbugs.gnu.org \
--cc=jgart@dismail.de \
--cc=julien@lepiller.eu \
--cc=rprior@protonmail.com \
/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).