From unknown Wed Aug 20 00:02:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29718 <29718@debbugs.gnu.org> To: bug#29718 <29718@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add hungrycat. Reply-To: bug#29718 <29718@debbugs.gnu.org> Date: Wed, 20 Aug 2025 07:02:49 +0000 retitle 29718 [PATCH] gnu: Add hungrycat. reassign 29718 guix-patches submitter 29718 Tobias Geerinckx-Rice severity 29718 normal tag 29718 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 15 02:26:51 2017 Received: (at submit) by debbugs.gnu.org; 15 Dec 2017 07:26:51 +0000 Received: from localhost ([127.0.0.1]:34501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePkOR-0008Nw-4P for submit@debbugs.gnu.org; Fri, 15 Dec 2017 02:26:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePkOL-0008Ng-Pz for submit@debbugs.gnu.org; Fri, 15 Dec 2017 02:26:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePkOF-0002Yf-H8 for submit@debbugs.gnu.org; Fri, 15 Dec 2017 02:26:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51030) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePkOF-0002YX-Ee for submit@debbugs.gnu.org; Fri, 15 Dec 2017 02:26:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePkOE-0007MC-3F for guix-patches@gnu.org; Fri, 15 Dec 2017 02:26:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePkOC-0002VM-Sn for guix-patches@gnu.org; Fri, 15 Dec 2017 02:26:38 -0500 Received: from tobias.gr ([2001:470:cc92::1]:53378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePkOC-0002SK-FW for guix-patches@gnu.org; Fri, 15 Dec 2017 02:26:36 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id 05be8303 for ; Fri, 15 Dec 2017 07:26:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; bh=VBZ/MXJT5zrz/wfa5Cr75B4LM PwD8Nm1iyDUgpGtUws=; b=JjyXGHjT5htd/0sZcHDORF1V5VprzCo099cNEf4VO lcZhYf981iL2/u6tG5B/f+WYPudks2cmBv9BETv3Juxo1uFL0SHYOqz/DVwaVJCH 3YRCXeDkEGcaoTLnUQ07wW/ppF8nQacXoaPGd/xy8qaQJ7P6y2ecyV+y8uzN+gZx 9XvQM+0DFqqX9FGNHtJ260pTEvL+EAHptty34v0u20fTfLsQqbWVcyis5Id7Yye0 c+KBmTz7J3LyQg37knlUQCtpSb7nq6rTIZyNtjY5f9/BT3ij3qpydAZXlPFdfafq zbjl7SYvbuxFCYUJHwzoBgTrOZJOgf44uhhzRe++Q5hTw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 94026d20 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Fri, 15 Dec 2017 07:26:31 +0000 (UTC) From: Tobias Geerinckx-Rice To: guix-patches@gnu.org Subject: [PATCH] gnu: Add hungrycat. Date: Fri, 15 Dec 2017 08:29:01 +0100 Message-Id: <20171215072901.19652-1-me@tobias.gr> X-Mailer: git-send-email 2.15.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) * gnu/packages/admin.scm (hungrycat): New public variable. --- Good morning Guix! ‘Patch’ submitted upstream, hopefully making the snippet unnecessary by the time this is merged. Kind regards, T G-R gnu/packages/admin.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e97fa79ac..ee95743dc 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2333,3 +2333,44 @@ application, collecting the information received.") ;; 'src/siphash24.c' is the SipHash reference implementation, which ;; bears a CC0 Public Domain Dedication. (license license:agpl3+))) + +(define-public hungrycat + (package + (name "hungrycat") + (version "0.4") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jwilk/hungrycat/" + "releases/download/" version "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0yvmz5apfkw0kwx6bzj8svfln7wic1ivv4brifgg95r8m9aglq5r")) + (modules '((guix build utils))) + (snippet + ;; Makefile.in installs a copy of the hungrycat binary as man + ;; page. Assume this isn't some kind of statement and fix it. + ;; Reported as + '(begin + (substitute* "Makefile.in" + (("install -m644 \\$\\(<\\)") + "install -m644 doc/$(<).1")) + #t)))) + (build-system gnu-build-system) + (native-inputs + ;; For tests. + `(("python" ,python-wrapper) + ("python-nose" ,python-nose))) + (arguments + `(#:test-target "test")) + (synopsis "A single tool that combines @command{cat} & @command{rm}") + (description + "hungrycat prints the contents of a file to standard output, while +simultaneously freeing the disk space it occupied. It is useful if you need +to process a large file, don't have enough space to store both the input and +output files, and don't need the input file afterwards. +While similar in principle to running @command{cat} immediately followed by +@command{rm}, @command{hungrycat} actually frees blocks as soon as they are +printed and before the entire file has even been read.") + (home-page "https://jwilk.net/software/hungrycat") + (license license:expat))) -- 2.15.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 15 14:03:25 2017 Received: (at 29718) by debbugs.gnu.org; 15 Dec 2017 19:03:25 +0000 Received: from localhost ([127.0.0.1]:36066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePvGX-0005WM-3Y for submit@debbugs.gnu.org; Fri, 15 Dec 2017 14:03:25 -0500 Received: from tobias.gr ([51.15.135.5]:48510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePvGV-0005WD-HS for 29718@debbugs.gnu.org; Fri, 15 Dec 2017 14:03:24 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id c9faac84 for <29718@debbugs.gnu.org>; Fri, 15 Dec 2017 19:03:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; bh=7h1LmNvR/GzAWyQx4qp+Z+6B+sC0bdgzsEEReZGDtD4=; b=jdkh sGQpXoJnFL3jUu5/nIwF2DBdGwvMKgqzr4HonrSRSFfpDLe2kDDgj0FIuC5aasXe iil9GfxCMaIVajrZK6MNKvthjNzcW01wXE0WO6D6mTN4blUxGqfwhlpZG+MKle2h jj/lAirdkAA8iUlIKR5arfFwR40MT16rHeKRMSQ/UXJnLL6YKdfUfHJlNsITUnrT Gh5gcgv0DqQAmL+qGAJd3Za8Jso7HYo/WYSKJ339Da0YUgAHw3sdFXutdypkIDkn S2f5J7NtKLIurTrW9aTVIM3tsyBLxivHoE5JYUepb/WBehdU/PYMcjjA+qXCKCFs KxUyU7t94deg2uTkWg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 4db1b6cc (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for <29718@debbugs.gnu.org>; Fri, 15 Dec 2017 19:03:18 +0000 (UTC) From: Tobias Geerinckx-Rice To: 29718@debbugs.gnu.org Subject: [PATCH] gnu: Add hungrycat. Date: Fri, 15 Dec 2017 20:05:51 +0100 Message-Id: <20171215190551.3225-1-me@tobias.gr> X-Mailer: git-send-email 2.15.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29718 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/admin.scm (hungrycat): New public variable. --- 10/10 would upstream again. Here's an updated patch. gnu/packages/admin.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e97fa79ac..4227fa794 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2333,3 +2333,34 @@ application, collecting the information received.") ;; 'src/siphash24.c' is the SipHash reference implementation, which ;; bears a CC0 Public Domain Dedication. (license license:agpl3+))) + +(define-public hungrycat + (package + (name "hungrycat") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jwilk/hungrycat/" + "releases/download/" version "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "03fc1zsrf99lvxa7b4ps6pbi43304wbxh1f6ci4q0vkal370yfwh")))) + (build-system gnu-build-system) + (native-inputs + ;; For tests. + `(("python" ,python-wrapper) + ("python-nose" ,python-nose))) + (arguments + `(#:test-target "test")) + (synopsis "A single tool that combines @command{cat} & @command{rm}") + (description + "hungrycat prints the contents of a file to standard output, while +simultaneously freeing the disk space it occupied. It is useful if you need +to process a large file, don't have enough space to store both the input and +output files, and don't need the input file afterwards. +While similar in principle to running @command{cat} immediately followed by +@command{rm}, @command{hungrycat} actually frees blocks as soon as they are +printed and before the entire file has even been read.") + (home-page "https://jwilk.net/software/hungrycat") + (license license:expat))) -- 2.15.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 21 20:28:41 2017 Received: (at 29718-done) by debbugs.gnu.org; 22 Dec 2017 01:28:41 +0000 Received: from localhost ([127.0.0.1]:46632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSC8f-0006q1-61 for submit@debbugs.gnu.org; Thu, 21 Dec 2017 20:28:41 -0500 Received: from tobias.gr ([51.15.135.5]:35558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSC8e-0006pt-C4 for 29718-done@debbugs.gnu.org; Thu, 21 Dec 2017 20:28:40 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id bea84467 for <29718-done@debbugs.gnu.org>; Fri, 22 Dec 2017 01:28:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=to:from :subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=2018; bh=bYi3AHzytOzQu9gPowFLpq7Xa C6N+QwRnTtBh2Xn34Q=; b=gO4kenK5ADJy0bYMAjh6JuiPw9nB/EFOE2V5nHmXA 3ZO67KCTVvG/Oz6hdwsl9862ONbRRiSa4iVqm9UXlPh9dvWZR0V3rsGtoTMg/cuQ jJDUx8471YiVjvKTJz1gZRyHpVjr+ieFEG3kRxhUakSvEGpz9Y7Cb4o2tZrT9G6W 57kkRwBnwfF5xtRN//LdGJ4a3B6HOAH8yDVYOKGm1tSxkX/C8QGZBvnQ+TfJxpnB H3+PnWl/6XJJztz7GdBqm6KOgwHDWfpdGQRPeg3kiQsGvYS6sRfeOIJzi7KlDbJC aDfAFRsxfvlZyuy/iI9uUwBo7jVsIVKIVgStLY6G8LojQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 59b13914 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for <29718-done@debbugs.gnu.org>; Fri, 22 Dec 2017 01:28:37 +0000 (UTC) To: 29718-done@debbugs.gnu.org From: Tobias Geerinckx-Rice Subject: [PATCH] gnu: Add hungrycat. Message-ID: <7f077101-6790-b17a-32ee-a567e6be46b3@tobias.gr> Date: Fri, 22 Dec 2017 02:31:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29718-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Pushed as 82d57f126c87f11acf08e7834b9f135cce849b45. From unknown Wed Aug 20 00:02:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 19 Jan 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator