summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2021-07-29 20:27:27 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2021-07-29 20:27:27 +0200
commit878ee9cc6499647bbc2e6a65bd5a7ea05bca91a8 (patch)
tree8a191bc8d8260f934030d8941021b0522c43164f
parent020ae03e11119b9ba1a2454a0966d7fa7785842e (diff)
Add cras
-rw-r--r--cras.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/cras.scm b/cras.scm
new file mode 100644
index 0000000..f876d9e
--- /dev/null
+++ b/cras.scm
@@ -0,0 +1,35 @@
+(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"
+ (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)))