summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-07-26 17:45:33 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-07-26 17:45:33 +0200
commitf01c3c41be2b9567d2f0546cadf857f9c0bbd266 (patch)
tree77b9c2d8545f6cdb4a08e75e879db9121a06a8ce
parent32e75c78f82f2e9ac6030e2ce9039ee604a60483 (diff)
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.
-rw-r--r--gnu/packages/emacs-xyz.scm32
1 files changed, 27 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e6c4350a0e..834f8c52b3 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}.