[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: Add hungrycat.
From: |
Tobias Geerinckx-Rice |
Subject: |
02/06: gnu: Add hungrycat. |
Date: |
Thu, 21 Dec 2017 20:25:10 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 82d57f126c87f11acf08e7834b9f135cce849b45
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Fri Dec 15 07:33:07 2017 +0100
gnu: Add hungrycat.
* gnu/packages/admin.scm (hungrycat): New public variable.
---
gnu/packages/admin.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index e97fa79..d3a6248 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2333,3 +2333,35 @@ 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
address@hidden, @command{hungrycat} actually frees blocks as soon as they are
+printed instead of after the entire file has been read, which is often too
+late.")
+ (home-page "https://jwilk.net/software/hungrycat")
+ (license license:expat)))
- branch master updated (47ebb1a -> 8c4ca85), Tobias Geerinckx-Rice, 2017/12/21
- 01/06: gnu: zstd: Use default ‘check’ target., Tobias Geerinckx-Rice, 2017/12/21
- 03/06: gnu: Add lunzip., Tobias Geerinckx-Rice, 2017/12/21
- 05/06: gnu: Add lzlib., Tobias Geerinckx-Rice, 2017/12/21
- 02/06: gnu: Add hungrycat.,
Tobias Geerinckx-Rice <=
- 06/06: gnu: Add plzip., Tobias Geerinckx-Rice, 2017/12/21
- 04/06: gnu: Add clzip., Tobias Geerinckx-Rice, 2017/12/21