From 878ee9cc6499647bbc2e6a65bd5a7ea05bca91a8 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Thu, 29 Jul 2021 20:27:27 +0200 Subject: Add cras --- cras.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 cras.scm 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))) -- cgit v1.2.3