gnu: mcron: Update to 1.2.1-0.5fd0ccd.
* gnu/packages/guile-xyz.scm (mcron): Update to 1.2.1-0.5fd0ccd. [native-inputs]: Add autoconf, automake, help2man, and texinfo.
This commit is contained in:
parent
1df89e4345
commit
5512915c3b
|
@ -2702,47 +2702,56 @@ (define-public guile2.0-commonmark
|
||||||
(inputs (list guile-2.0))))
|
(inputs (list guile-2.0))))
|
||||||
|
|
||||||
(define-public mcron
|
(define-public mcron
|
||||||
(package
|
;; Use the latest commits, as interesting changes haven't been released yet,
|
||||||
(name "mcron")
|
;; such as improved logging.
|
||||||
(version "1.2.1")
|
(let ((revision "0")
|
||||||
(source (origin
|
(commit "5fd0ccde5a4cff70299999f988e6b5166584814d"))
|
||||||
(method url-fetch)
|
(package
|
||||||
(uri (string-append "mirror://gnu/mcron/mcron-"
|
(name "mcron")
|
||||||
version ".tar.gz"))
|
(version (git-version "1.2.1" revision commit))
|
||||||
(sha256
|
(source (origin
|
||||||
(base32
|
(method git-fetch)
|
||||||
"0bkn235g2ia4f7ispr9d55c7bc18282r3qd8ldhh5q2kiin75zi0"))))
|
(uri (git-reference
|
||||||
(build-system gnu-build-system)
|
(url "https://git.savannah.gnu.org/git/mcron.git")
|
||||||
(arguments
|
(commit commit)))
|
||||||
(list
|
(file-name (git-file-name name version))
|
||||||
#:phases #~(modify-phases %standard-phases
|
(sha256
|
||||||
(add-before 'check 'adjust-tests
|
(base32
|
||||||
(lambda _
|
"0jl2w67a5hkphzssdzq3q4jcwv2b174b11d3w5i3khxq2vhzd6kk"))))
|
||||||
(substitute* "tests/job-specifier.scm"
|
(build-system gnu-build-system)
|
||||||
;; (getpw) fails with "entry not found" in the build
|
(arguments
|
||||||
;; environment, so pass an argument.
|
(list
|
||||||
(("\\(getpw\\)")
|
#:phases #~(modify-phases %standard-phases
|
||||||
"(getpwnam (getuid))")
|
(add-before 'check 'adjust-tests
|
||||||
;; The build environment lacks an entry for root in
|
(lambda _
|
||||||
;; /etc/passwd.
|
(substitute* "tests/job-specifier.scm"
|
||||||
(("\\(getpw 0\\)")
|
;; (getpw) fails with "entry not found" in the build
|
||||||
"(getpwnam \"nobody\")")
|
;; environment, so pass an argument.
|
||||||
;; FIXME: Skip the 4 faulty tests (see above).
|
(("\\(getpw\\)")
|
||||||
(("\\(test-equal \"next-year\"" all)
|
"(getpwnam (getuid))")
|
||||||
(string-append "(test-skip 4)\n" all))))))))
|
;; The build environment lacks an entry for root in
|
||||||
(native-inputs (list guile-3.0 ;for 'guild compile'
|
;; /etc/passwd.
|
||||||
pkg-config
|
(("\\(getpw 0\\)")
|
||||||
tzdata-for-tests))
|
"(getpwnam \"nobody\")")
|
||||||
|
;; FIXME: Skip the 4 faulty tests (see above).
|
||||||
(inputs (list guile-3.0))
|
(("\\(test-equal \"next-year\"" all)
|
||||||
(home-page "https://www.gnu.org/software/mcron/")
|
(string-append "(test-skip 4)\n" all))))))))
|
||||||
(synopsis "Run jobs at scheduled times")
|
(native-inputs (list autoconf
|
||||||
(description
|
automake
|
||||||
"GNU Mcron is a complete replacement for Vixie cron. It is used to run
|
guile-3.0 ;for 'guild compile'
|
||||||
|
help2man
|
||||||
|
pkg-config
|
||||||
|
tzdata-for-tests
|
||||||
|
texinfo))
|
||||||
|
(inputs (list guile-3.0))
|
||||||
|
(home-page "https://www.gnu.org/software/mcron/")
|
||||||
|
(synopsis "Run jobs at scheduled times")
|
||||||
|
(description
|
||||||
|
"GNU Mcron is a complete replacement for Vixie cron. It is used to run
|
||||||
tasks on a schedule, such as every hour or every Monday. Mcron is written in
|
tasks on a schedule, such as every hour or every Monday. Mcron is written in
|
||||||
Guile, so its configuration can be written in Scheme; the original cron
|
Guile, so its configuration can be written in Scheme; the original cron
|
||||||
format is also supported.")
|
format is also supported.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public guile-picture-language
|
(define-public guile-picture-language
|
||||||
(let ((commit "a1322bf11945465241ca5b742a70893f24156d12")
|
(let ((commit "a1322bf11945465241ca5b742a70893f24156d12")
|
||||||
|
|
Loading…
Reference in a new issue