1{ fetchurl, stdenv, guile, which, ed }:
2
3stdenv.mkDerivation rec {
4 name = "mcron-1.0.6";
5
6 src = fetchurl {
7 url = "mirror://gnu/mcron/${name}.tar.gz";
8 sha256 = "0yvrfzzdy2m7fbqkr61fw01wd9r2jpnbyabxhcsfivgxywknl0fy";
9 };
10
11 patches = [ ./install-vixie-programs.patch ];
12
13 buildInputs = [ guile which ed ];
14
15 doCheck = true;
16
17 meta = {
18 description = "Flexible implementation of `cron' in Guile";
19
20 longDescription = ''
21 The GNU package mcron (Mellor's cron) is a 100% compatible
22 replacement for Vixie cron. It is written in pure Guile, and
23 allows configuration files to be written in scheme (as well as
24 Vixie's original format) for infinite flexibility in specifying
25 when jobs should be run. Mcron was written by Dale Mellor.
26 '';
27
28 homepage = http://www.gnu.org/software/mcron/;
29
30 license = stdenv.lib.licenses.gpl3Plus;
31 platforms = stdenv.lib.platforms.unix;
32 };
33}