From d9e3a21318f166b54d0fd770e67bc7a49ad2c411 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 30 Jul 2019 11:36:33 +0200 Subject: gnu: Add scron. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/suckless.scm (scron): New package. Signed-off-by: 宋文武 --- gnu/packages/suckless.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages') 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 @@ (define-public lchat 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))) -- cgit v1.2.3