Files
nixpkgs/pkgs/by-name/mc/mcron/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.0 KiB
Nix

{
fetchurl,
lib,
stdenv,
guile,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "mcron";
version = "1.2.1";
src = fetchurl {
url = "mirror://gnu/mcron/mcron-${version}.tar.gz";
sha256 = "0bkn235g2ia4f7ispr9d55c7bc18282r3qd8ldhh5q2kiin75zi0";
};
# don't attempt to chmod +s files in the nix store
postPatch = ''
sed -E -i '/chmod u\+s/d' Makefile.in
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ guile ];
doCheck = true;
meta = {
description = "Flexible implementation of `cron' in Guile";
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 = "https://www.gnu.org/software/mcron/";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.unix;
};
}