Subject: Re: [bug#73040] [PATCH v4] gnu: Add micron.

From: Zheng Junjie <[email-masked]>
Date: Thu, 28 Nov 2024 16:44:05 +0800

Andy Tai <[email-masked]> writes:

> * gnu/packages/cron.scm (micron): New variable.
>
> Change-Id: I1bd78df12b5ea7f17104a005659e9034c20403f1
> ---
>  gnu/packages/cron.scm | 45 +++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
>  create mode 100644 gnu/packages/cron.scm
>
> diff --git a/gnu/packages/cron.scm b/gnu/packages/cron.scm
> new file mode 100644
> index 0000000000..1991ad4b60
> --- /dev/null
> +++ b/gnu/packages/cron.scm
> @@ -0,0 +1,45 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright © 2024 Andy Tai <[email-masked]>
> +;;;
> +;;; This file is part of GNU Guix.
> +;;;
> +;;; GNU Guix is free software; you can redistribute it and/or modify it
> +;;; under the terms of the GNU General Public License as published by
> +;;; the Free Software Foundation; either version 3 of the License, or (at
> +;;; your option) any later version.
> +;;;
> +;;; GNU Guix is distributed in the hope that it will be useful, but
> +;;; WITHOUT ANY WARRANTY; without even the implied warranty of
> +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +;;; GNU General Public License for more details.
> +;;;
> +;;; You should have received a copy of the GNU General Public License
> +;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
> +
> +(define-module (gnu packages cron)
> +  #:use-module (guix download)
> +  #:use-module ((guix licenses) #:prefix license:)
> +  #:use-module (guix packages)
> +  #:use-module (guix build-system gnu)
> +  #:use-module (gnu packages))
> +
> +
> +(define-public micron
> +  (package
> +    (name "micron")
> +    (version "1.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "mirror://gnu/micron/micron-" version ".tar.gz"))
> +       (sha256
> +        (base32 "196dfcjijzsnddc9zzkyl0z22p4xkz9nl3jbdaxrikv0b8pncvh3"))))
> +    (build-system gnu-build-system)
> +    (home-page "https://www.gnu.org/software/micron/")
> +    (synopsis "Implementation of the UNIX cron daemon")
> +    (description
> +     "GNU Micron is an implementation of the UNIX cron daemon, a program that
> +executes periodically various tasks. It provides a flexible job scheduler, which
> +offers complete control over the execution of the scheduled commands and contains
> +additional organizational features.")
> +    (license license:gpl3+)))
> \ No newline at end of file
>
> base-commit: ce877a777e6ec089dc347e9883387d3080b471cf

I don't believe this package requires a separate file. However, if there
are other cron packages to be added later, let's disregard this message.

and then please add gnu/packages/cron.scm to gnu/local.mk
(GNU_SYSTEM_MODULES).