2009-04-03 20:46:26 +02:00
|
|
|
{ fetchurl, stdenv, guile, which, ed }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-07-04 23:11:08 +02:00
|
|
|
name = "mcron-1.0.6";
|
2009-04-03 20:46:26 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/mcron/${name}.tar.gz";
|
2010-07-04 23:11:08 +02:00
|
|
|
sha256 = "0yvrfzzdy2m7fbqkr61fw01wd9r2jpnbyabxhcsfivgxywknl0fy";
|
2009-04-03 20:46:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./install-vixie-programs.patch ];
|
|
|
|
|
2017-06-28 21:12:23 +02:00
|
|
|
# don't attempt to chmod +s files in the nix store
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace makefile.in --replace "rwxs" "rwx"
|
|
|
|
'';
|
|
|
|
|
2009-04-03 20:46:26 +02:00
|
|
|
buildInputs = [ guile which ed ];
|
|
|
|
|
2010-07-04 23:11:08 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2009-04-03 20:46:26 +02:00
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Flexible implementation of `cron' in Guile";
|
2009-04-03 20:46:26 +02:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www.gnu.org/software/mcron/;
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-04-03 20:46:26 +02:00
|
|
|
};
|
|
|
|
}
|