From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aD1zKLPOq2QiRQEASxT56A (envelope-from ) for ; Mon, 10 Jul 2023 11:26:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0CqcJ7POq2Q3nQAAG6o9tA (envelope-from ) for ; Mon, 10 Jul 2023 11:26:11 +0200 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 EF8EA32D9F for ; Mon, 10 Jul 2023 11:26:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nofog.net header.s=selector1 header.b="Vmsf/Hjk"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688981171; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=i1ebY0c/1LJCIdprxucfwtCrYoDmLV49ylYbP2CXe40=; b=VFP9IE9aLuiB21A+mDmUahI57vnnsx83AR+Ke0KV4D6Kn+B87IA5B/e7tZIMJv8Doq5mA1 jW2Luu2j6TS9eQYnqoQKkot6Od61HcgAZlL8dEJDe/0XIjhCY4HE/P/z27PWa1SIlPsTRP Ot4ntgmod3kVIdfC+R/ItBIOz1++1zYDlqPpXGoYKyDZqzReCRM2Q7OBR4XMz3nWLVxRbQ yNJ+1drQkg1xdZaOX5prTORob6xNIXq/qmD7pgMHlXncyxfzzSsvUZymM4deupDEnMmGY/ Qp7iYolmFLo+55Jid+v6GX7JieZFOtUTVmyNMvE+TdDPQua9ua60oF7WOieuIA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688981171; a=rsa-sha256; cv=none; b=fIyJ9uZ6RVm0Esq/6FZRMu/K5SXAgXvuiOmnW1QVnj8836pQVFwNCAG2Zomi5SWHCFREll 3/qOaDXlyhEi+2uiK5Q4fkoahc4cvb92tNT6/Jm7QJyl+C82LKKXONsVO9fnx88cIA9u4K BX8zb5WkTDCdFSJp15cjALH5LRn6yGEhFE7vD2JWoIyO2r17XOJuhjI72uVhnHZYpSeNqf uo9a+z1x06XYdkobdYUc6GbLDW9BD0AsFbUtDhvLH7dzSQsSuSsbMzBt8ttO3GlCxYguVS oRfS+g10AEdLqAnb6C5kEz4kRMyTehwJG5Zzw7ku2MqxP78h+aBnAA6G29JpUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nofog.net header.s=selector1 header.b="Vmsf/Hjk"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIn9j-0008Ae-7B; Mon, 10 Jul 2023 05:26:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIn9e-0008AC-8V for guix-patches@gnu.org; Mon, 10 Jul 2023 05:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIn9d-000114-Un for guix-patches@gnu.org; Mon, 10 Jul 2023 05:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIn9d-0007Vi-OX for guix-patches@gnu.org; Mon, 10 Jul 2023 05:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64552] [PATCH] gnu: Add dhex. Resent-From: flabbergasted Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Jul 2023 09:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64552 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64552@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168898111028804 (code B ref -1); Mon, 10 Jul 2023 09:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2023 09:25:10 +0000 Received: from localhost ([127.0.0.1]:47752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIn8n-0007UW-Lr for submit@debbugs.gnu.org; Mon, 10 Jul 2023 05:25:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:55834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIn8k-0007UK-Bc for submit@debbugs.gnu.org; Mon, 10 Jul 2023 05:25:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIn8a-0007zo-6C for guix-patches@gnu.org; Mon, 10 Jul 2023 05:24:58 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIn8U-0000Tl-6B for guix-patches@gnu.org; Mon, 10 Jul 2023 05:24:55 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qIn8L-009sAM-Ba for guix-patches@gnu.org; Mon, 10 Jul 2023 11:24:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nofog.net; s=selector1; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=i1ebY0c/1LJCIdprxucfwtCrYoDmLV49ylYbP2CXe40=; b=Vmsf/Hjku5yG+sKMjJclzdTET a4OYf6rSSALjM0JbKLe56WOxC5ZQbT607/dgy34+x/aBFypfjJiHWk0WkuV8xXVBuWXgsEynihKTs 7jDrjt4v0asingfJ2UIvxMnq3/9AsuSHnpfa6KhJpHfztK2z7Gbkw897OjuHHHXZXvwiiptLTYmp6 7pt6565L/wWjEWfz8dBpkpQ3LBGdgi7PSdhTqi1c2AF2NodshH3W9Kv1VObm2gy+r9+aptsbqn3gI M97wD1tkHKdwaRsZ09V+di6wTOmg3WO5i6W5D5uyY9UxLlZ6KKYit5F9iCLCrhlf5MOG/qKFDTvtL PrCca5mWw==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qIn8K-0007uX-Ry for guix-patches@gnu.org; Mon, 10 Jul 2023 11:24:41 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1160150)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1qIn85-000500-GA for guix-patches@gnu.org; Mon, 10 Jul 2023 11:24:25 +0200 Date: Mon, 10 Jul 2023 10:24:20 +0100 From: flabbergasted Message-ID: <29a2c5263ac72f950491f627b6055ecb675f0068.1688931860.git.flabbergasted@nofog.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=2a0c:5a00:149::26; envelope-from=flabbergasted@nofog.net; helo=mailtransmit05.runbox.com 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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.09 X-Spam-Score: -3.09 X-Migadu-Queue-Id: EF8EA32D9F X-Migadu-Scanner: mx2.migadu.com X-TUID: ZcXrOGPIdhA7 * gnu/packages/hexedit.scm (dhex): New variable. --- gnu/packages/hexedit.scm | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm index 79c14a2..002f6d0 100644 --- a/gnu/packages/hexedit.scm +++ b/gnu/packages/hexedit.scm @@ -29,6 +29,8 @@ (define-module (gnu packages hexedit) #:use-module (gnu packages ncurses) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix gexp) + #:use-module (guix utils) #:use-module (guix build-system gnu)) (define-public hexedit @@ -69,6 +71,50 @@ (define-public hexedit (home-page "http://rigaux.org/hexedit.html") (license license:gpl2+))) +(define-public dhex + (package + (name "dhex") + (version "0.69") + (source (origin + (method url-fetch) + (uri (string-append "https://www.dettus.net/dhex/" name "_" + version ".tar.gz")) + (sha256 + (base32 + "06y4lrp29f2fh303ijk1xhspa1d4x4dm6hnyw3dd8szi3k6hnwsj")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ;no tests provided + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target))) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ;no configure script + (replace 'install ;multiple issues with provided 'make install' + (lambda _ + (let ((bin (string-append #$output "/bin")) + (man1 (string-append #$output + "/share/man/man1")) + (man5 (string-append #$output + "/share/man/man5"))) + (mkdir-p bin) + (install-file "dhex" bin) + (mkdir-p man1) + (install-file "dhex.1" man1) + (mkdir-p man5) + (install-file "dhexrc.5" man5) + (install-file "dhex_markers.5" man5) + (install-file "dhex_searchlog.5" man5))))))) + (inputs (list ncurses)) + (home-page "https://www.dettus.net/dhex/") + (synopsis "View, edit, and diff files in hexadecimal") + (description + "Dhex is hex editor which includes a diff mode, which can be used to +easily and conveniently compare two binary files. It is based on ncurses +and is themeable.") + (license license:gpl2))) + (define-public ht (package (name "ht") base-commit: f0ca6346a46c605a590bfd77b84e143a8c759a3b -- 2.40.1