summaryrefslogtreecommitdiff
path: root/cras.scm
blob: c52be660281ec17d5e41083c93a8f5bda76c53e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
(define-module (cras)
               #:use-module (guix packages)
               #:use-module (guix git-download)
               #:use-module (guix build-system gnu)
               #:use-module (guix licenses)
               #:use-module (gnu packages))

(define-public cras
  (package
      (name "cras")
      (version "2.0.2")
      (source (origin
                (method git-fetch)
                (uri (git-reference
                       (url "https://git.sr.ht/~arivigo/cras")
                       (commit version)))
                (sha256
                  (base32
                    "1qh7jlhqlj9gl1lbdnw1ksj23sn48v1bxlxxhsnb92xrb1jfjcqy"))))
      (build-system gnu-build-system)
      (arguments
        `(#:tests? #f
          #:make-flags (list
                         "CC=gcc"
                         "PREFIX=''"
                         "MANPREFIX='/share/man'"
                         (string-append "DESTDIR=" (assoc-ref %outputs "out")))
          #:phases (modify-phases
                     %standard-phases
                     (delete 'configure))))
      
      (synopsis "The Anti-procrastination tool")

      (description "cras is an unapologetic daily task list.  It holds your
tasks only throughout the day, deleting them afterwards.")
      (home-page "https://git.sr.ht/~arivigo/cras")
      (license expat)))