all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: 55018-done@debbugs.gnu.org
Cc: chuanwei.foo@hotmail.com
Subject: bug#55018: [PATCH] gnu: Add wtime.
Date: Wed, 27 Apr 2022 11:19:50 +0200	[thread overview]
Message-ID: <878rrqlw7d.fsf@gnu.org> (raw)
In-Reply-To: <PU1PR01MB215577BF8244F7995FB2878E8DF29@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (Foo Chuan Wei's message of "Tue, 19 Apr 2022 07:26:54 +0000")


Hello,

> * gnu/packages/task-management.scm (wtime): New variable.

Pushed with the following modifications:

--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index 17fb8c335e..65b3dc8699 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -23,6 +23,7 @@
 
 (define-module (gnu packages task-management)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (gnu packages check)
   #:use-module (gnu packages freedesktop)
@@ -43,6 +44,7 @@ (define-module (gnu packages task-management)
   #:use-module (guix hg-download)
   #:use-module (guix utils)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python))
@@ -259,8 +261,8 @@ (define-public wtime
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
-       (list (string-append "CC=" ,(cc-for-target))
-             (string-append "PREFIX=" %output))
+       ,#~(list (string-append "CC=" #$(cc-for-target))
+                (string-append "PREFIX=" #$output))
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)
@@ -271,10 +273,10 @@ (define-public wtime
        #:tests? #f))  ; No "check" target.
     (home-page "http://wtime.sourceforge.net")
     (synopsis
-     "Command-line utility for tracking time spent working on arbitrary tasks")
+     "Command-line utility for tracking time spent on arbitrary tasks")
     (description
-     "@code{wtime} is a command-line utility for tracking time spent working on
-arbitrary tasks.  All the time data is saved in files residing in the
+     "@code{wtime} is a command-line utility for tracking time spent working
+on arbitrary tasks.  All the time data is saved in files residing in the
 @code{.wtimed} directory in the user's home directory.")
     (license license:x11)))
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu




      reply	other threads:[~2022-04-27  9:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-19  7:26 [bug#55018] [PATCH] gnu: Add wtime Foo Chuan Wei
2022-04-27  9:19 ` Mathieu Othacehe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rrqlw7d.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=55018-done@debbugs.gnu.org \
    --cc=chuanwei.foo@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.