From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YMozKRXrBWGTXwAAgWs5BA (envelope-from ) for ; Sun, 01 Aug 2021 02:30:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UDHhJBXrBWGPJwAAB5/wlQ (envelope-from ) for ; Sun, 01 Aug 2021 00:30:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E9A9E8D73 for ; Sun, 1 Aug 2021 02:30:12 +0200 (CEST) Received: from localhost ([::1]:39136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9zMp-0005xM-Tk for larch@yhetil.org; Sat, 31 Jul 2021 20:30:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9zMg-0005u4-Js for guix-patches@gnu.org; Sat, 31 Jul 2021 20:30:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9zMg-0000YV-CE for guix-patches@gnu.org; Sat, 31 Jul 2021 20:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9zMg-0008GT-7K for guix-patches@gnu.org; Sat, 31 Jul 2021 20:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49802] [PATCH] gnu: Add bitwise. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Aug 2021 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49802 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49802@debbugs.gnu.org Cc: Julien Lepiller , Ryan Prior , Guix Together X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162777778831722 (code B ref -1); Sun, 01 Aug 2021 00:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Aug 2021 00:29:48 +0000 Received: from localhost ([127.0.0.1]:35186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9zMS-0008Fa-4U for submit@debbugs.gnu.org; Sat, 31 Jul 2021 20:29:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:54358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9zMP-0008FS-UN for submit@debbugs.gnu.org; Sat, 31 Jul 2021 20:29:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9zMP-0005a7-Ms for guix-patches@gnu.org; Sat, 31 Jul 2021 20:29:45 -0400 Received: from mx1.dismail.de ([78.46.223.134]:36909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9zMN-0000JP-3d for guix-patches@gnu.org; Sat, 31 Jul 2021 20:29:45 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 99e715ee; Sun, 1 Aug 2021 02:29:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=FdZ+kL0FFPbrURXuaYMVRAxoeLHSlq5raB74S4oc/r4=; b= r0t5lVubV7MN81paZ5zeIPTZnHeJW5zwX1rIYhRXoCuN/cqFw41GvmzYXJ3dI+Ak qh1mMwPm7qD4IMrc1hJSfXcy9ghM+JaOXECyBmZBwqt3m7Cqrf99zmFICcf6JLD/ EmlIP9PBa2j66A6BLSeNbkZOipALn02u3yHgSrlZz4eEz3EVWIdI2m8pXCdFu5mq 9inY73ZYK3VIczEmqD/74wXhQTqiDE8HercxtrlfPOLerCdWLFtzoBrVblbgZAHS knqA32JdQwMMBMHJCe5qm06mnm6rIgDFc1hgLGb2ZIfrrhxUhDZWrbC7nyEDR2vF bG81gNsjb0KWWE7uyVgX8w== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 1ec4c1b6; Sun, 1 Aug 2021 02:29:37 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id a0b436da; Sun, 1 Aug 2021 02:29:37 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 24327c58 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 1 Aug 2021 02:29:36 +0200 (CEST) Date: Sat, 31 Jul 2021 20:29:07 -0400 Message-Id: <20210801002907.4291-1-jgart@dismail.de> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627777813; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Dxt6mLURR2swSpyo9woWzAwqYUWeAJO9Qgw7piVmkj4=; b=HFVi2RTeODBInhfCHZnbXfNZ8uDGPD6vALKq+pTNgJu5c9Y2XxnjJ9wRS5ZfAU2kBJ8CJY 3+b1bYbdywlENHauVuhl0/rRBIo+xfwY/Tf1N3OIPc7wd2cf4S43MjMLEWGVR653sNL4gL 8Zmriv+QT033dnMsKXMZzbWkiKbw18RZMkS4I4pH3FdcW/Y3XP9I+SXdDaZhrPRkdzeL7u 8etuYLHwlKYcJerHS/7X1y1+dVG4rPmjmi7EdNt0KlB+ZmD7iW4aXREOY5qAeLLryGwI7R j2mDkE7QsFAOfqyt8gT89Dx7SxoOF1u+oGp0pSZfuJ2Y16qsGuexSFHbmV0PGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627777813; a=rsa-sha256; cv=none; b=f7eCLLGaq0PN8Lanfs6xDWdYQR1rWY6SMBQp+8E1nuGIk1guSzUQ8fQ+Y1b03gkdbXToow gy+p1G/RJWJziDLi3gfyydGOVb07Kn54W3twCjVI3dy/H1YgeHCSyPF15/CeXEKdM0TN1h O7oUem4ro8uGk5neBAS8MQcNcW5J7TQBMK4l8vZiwHsTIqQs8f9kKYtiWI5moeCJO8dUXy TpO7wI7gBHt6ZIE84MNyabKNgOxMBQmShx+m3oni9NAM0Z5KGrLLs4XD1t76J6gO/KHgOb NgdcYSQ6rMfSiEJXueG95js2LADSlqQY1YXLC+EEnUnw028GiHi8gTOsKB1O3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=r0t5lVub; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=r0t5lVub; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E9A9E8D73 X-Spam-Score: 1.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: 02/Vg/j1qZrU From: Guix Together * gnu/packages/maths.scm (bitwise): New variable. Co-authored-by: jgart Co-authored-by: Julien Lepiller Co-authored-by: Ryan Prior --- 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