aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Vollmert <rob@vllmrt.net>2019-07-30 11:36:33 +0200
committer宋文武 <iyzsong@member.fsf.org>2019-09-09 21:53:26 +0800
commitd9e3a21318f166b54d0fd770e67bc7a49ad2c411 (patch)
tree52219f5fd4c102a45c591e36b52e60fbd4dc96af
parent53223dc34017585b1616c57bcd59526e234353c0 (diff)
downloadpatches-d9e3a21318f166b54d0fd770e67bc7a49ad2c411.tar
patches-d9e3a21318f166b54d0fd770e67bc7a49ad2c411.tar.gz
gnu: Add scron.
* gnu/packages/suckless.scm (scron): New package. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/packages/suckless.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 427bc44598..f0055cc0cc 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -724,3 +724,31 @@ as -1, to be used instead of U+FFFD.
It is a front end for ii-like chat programs. It uses @code{tail -f} to get the
chat output in the background.")
(license license:isc))))
+
+(define-public scron
+ (package
+ (name "scron")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://dl.2f30.org/releases/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "066fwa55kqcgfrsqgxh94sqbkxfsr691360xg4ljxr4i75d25s2a"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; No tests
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)))) ; No configure script
+ (home-page "https://git.2f30.org/scron/")
+ (synopsis "Simple cron daemon")
+ (description
+ "Schedule commands to be run at specified dates and times.
+Single daemon and configuration file. Log to stdout or syslog. No mail
+support.")
+ (license license:expat)))