nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 1.1 kB view raw
1{ 2 fetchurl, 3 lib, 4 stdenv, 5 guile, 6 pkg-config, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "mcron"; 11 version = "1.2.1"; 12 13 src = fetchurl { 14 url = "mirror://gnu/mcron/mcron-${finalAttrs.version}.tar.gz"; 15 sha256 = "0bkn235g2ia4f7ispr9d55c7bc18282r3qd8ldhh5q2kiin75zi0"; 16 }; 17 18 # don't attempt to chmod +s files in the nix store 19 postPatch = '' 20 sed -E -i '/chmod u\+s/d' Makefile.in 21 ''; 22 23 nativeBuildInputs = [ pkg-config ]; 24 buildInputs = [ guile ]; 25 26 doCheck = true; 27 28 meta = { 29 description = "Flexible implementation of `cron' in Guile"; 30 31 longDescription = '' 32 The GNU package mcron (Mellor's cron) is a 100% compatible 33 replacement for Vixie cron. It is written in pure Guile, and 34 allows configuration files to be written in scheme (as well as 35 Vixie's original format) for infinite flexibility in specifying 36 when jobs should be run. Mcron was written by Dale Mellor. 37 ''; 38 39 homepage = "https://www.gnu.org/software/mcron/"; 40 41 license = lib.licenses.gpl3Plus; 42 platforms = lib.platforms.unix; 43 }; 44})