From 87d836b2c9087eb81c4f113191d829474a40ed96 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 8 Feb 2013 00:15:48 +0100 Subject: gnu: Add GNU mcron. * gnu/packages/guile.scm (mcron): New variable. --- gnu/packages/guile.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index e36c0c2a2e..729a921346 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -30,6 +30,8 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages readline) #:use-module (gnu packages ncurses) + #:use-module (gnu packages ed) + #:use-module (gnu packages which) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) @@ -238,4 +240,32 @@ functionality is built on the ncurses libraries: curses, form, panel, and menu.") (license lgpl3+))) +(define-public mcron + (package + (name "mcron") + (version "1.0.6") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/mcron/mcron-" + version ".tar.gz")) + (sha256 + (base32 + "0yvrfzzdy2m7fbqkr61fw01wd9r2jpnbyabxhcsfivgxywknl0fy")))) + (build-system gnu-build-system) + (arguments + '(#:patches (list (assoc-ref %build-inputs "patch/install")))) + (inputs + `(("ed" ,ed) ("which" ,which) ("guile" ,guile-1.8) + ("patch/install" ,(search-patch "mcron-install.patch")))) + (home-page "http://www.gnu.org/software/mcron/") + (synopsis + "GNU mcron, a flexible implementation of `cron' in Guile") + (description + "The GNU package mcron (Mellor's cron) is a 100% compatible replacement +for Vixie cron. It is written in pure Guile, and allows configuration files +to be written in scheme (as well as Vixie's original format) for infinite +flexibility in specifying when jobs should be run. Mcron was written by Dale +Mellor.") + (license gpl3+))) + ;;; guile.scm ends here -- cgit v1.2.3