From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: [PATCH] gnu: Add progress. Date: Sat, 02 Apr 2016 21:48:04 +0200 Message-ID: <87mvpbvll7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amRWW-0004pz-AW for guix-devel@gnu.org; Sat, 02 Apr 2016 15:47:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amRWT-00025j-0I for guix-devel@gnu.org; Sat, 02 Apr 2016 15:47:56 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amRWS-00025f-Sx for guix-devel@gnu.org; Sat, 02 Apr 2016 15:47:52 -0400 Received: from 541e9304.cm-5-7c.dynamic.ziggo.nl ([84.30.147.4]:54630 helo=roel-tp) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1amRWS-0000zd-5U for guix-devel@gnu.org; Sat, 02 Apr 2016 15:47:52 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-progress.patch >From 1e85ce47b24e40ba17f01cec433d6e445597f81d Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Sat, 2 Apr 2016 21:43:44 +0200 Subject: [PATCH] gnu: Add progress. * gnu/packages/admin.scm (progress): New variable. --- gnu/packages/admin.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9636ee9..406aa0e 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -100,6 +100,35 @@ usual file attributes can be checked for inconsistencies.") (home-page "http://aide.sourceforge.net/") (license license:gpl2+))) +(define-public progress + (package + (name "progress") + (version "0.13") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Xfennec/" + name "/archive/v" version ".tar.gz")) + (sha256 + (base32 "133iar4vq5vlklydb4cyazjy6slmpbndrws474mg738bd8avc30n")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system gnu-build-system) + (inputs + `(("ncurses" ,ncurses))) + (arguments + `(#:tests? #f ; There is no test suite. + #:make-flags (list "CC=gcc" "LDFLAGS+=-lncurses" + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; There's no configure phase. + (home-page "https://github.com/Xfennec/progress") + (synopsis "Program to view the progress of the coreutils commands") + (description "A program that looks for coreutils basic commands (cp, mv, +dd, tar, gzip/gunzip, cat, etc.) currently running on your system and displays +the percentage of copied data. It can also show estimated time and throughput, +and provides a \"top-like\" mode (monitoring).") + (license license:gpl3+))) + (define-public dmd ;; Deprecated. Kept around "just in case." (let ((base-version "0.2") -- 2.5.5 --=-=-= Content-Type: text/plain Dear Guix, Here's a patch for a small program to view the progress of coreutils programs. Kind regards, Roel Janssen --=-=-=--