guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-chronometrist: Update to 0.5.3.


From: guix-commits
Subject: branch master updated: gnu: emacs-chronometrist: Update to 0.5.3.
Date: Sun, 26 Jul 2020 11:47:08 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f01c3c4  gnu: emacs-chronometrist: Update to 0.5.3.
f01c3c4 is described below

commit f01c3c41be2b9567d2f0546cadf857f9c0bbd266
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jul 26 17:45:33 2020 +0200

    gnu: emacs-chronometrist: Update to 0.5.3.
    
    * gnu/packages/emacs-xyz.scm (emacs-chronometrist): Update to 0.5.3.
    [source]: Update URL.
    [arguments]: Add phases.
    [propagated-inputs]: Add `emacs-ts'.
    [home-page]: Update URL.
---
 gnu/packages/emacs-xyz.scm | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e6c4350..834f8c5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2035,21 +2035,43 @@ Lock key.")
 (define-public emacs-chronometrist
   (package
     (name "emacs-chronometrist")
-    (version "0.4.3")
+    (version "0.5.3")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://framagit.org/contrapunctus/chronometrist.git";)
+             (url "https://github.com/contrapunctus-1/chronometrist.git";)
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1ljjqzghcap4admv0hvw6asm148b80mfgjgxjjcw6qc95fkjjjlr"))))
+        (base32 "0jz35972m372kx9x8mgf42zhzdw2w9wv2ri52chfb2fin4bh1biy"))))
     (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'chdir-elisp
+           ;; Elisp directory is not in root of the source.
+           (lambda _
+             (chdir "elisp")
+             #t))
+         (add-after 'install 'install-doc
+           ;; Documentation consists of several Markdown files.
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (doc (string-append out
+                                        "/share/doc/emacs-chronometrist-"
+                                        ,version)))
+               (with-directory-excursion "../doc"
+                 (for-each (lambda (f) (install-file f doc))
+                           (cons* "../UNLICENSE"
+                                  "../WTFPL"
+                                  (find-files "." "\\.md$")))))
+             #t)))))
     (propagated-inputs
      `(("emacs-dash" ,emacs-dash)
-       ("emacs-s" ,emacs-s)))
-    (home-page "https://framagit.org/contrapunctus/chronometrist";)
+       ("emacs-s" ,emacs-s)
+       ("emacs-ts" ,emacs-ts)))
+    (home-page "https://github.com/contrapunctus-1/chronometrist";)
     (synopsis "Time tracker for Emacs")
     (description "Chronometrist is a time tracker in Emacs, largely modelled
 after the Android application, @emph{A Time Tracker}.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]