gnu: Add mnc.

* gnu/packages/golang-apps.scm (mnc): New variable.

Change-Id: If341b357dae444ed86ac33598bc45eb9ab9c9986
This commit is contained in:
jgart 2025-11-21 09:59:02 -06:00
parent 18d777842e
commit 5195582b12
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -3,6 +3,7 @@
;;; Copyright © 2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2025 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
;;;
@ -395,3 +396,29 @@ editing and auto-completion. Some of its features include:
@item Auto-importing (gore -autoimport)
@end itemize")
(license license:expat)))
(define-public mnc
(package
(name "mnc")
(version "0.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~anjan/mnc")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "04vcv8540s07rsdfzmxg63cpckacgfiiqchyvfimsg7ic71gna3q"))))
(build-system go-build-system)
(arguments
(list
#:tests? #f ; There are no tests.
#:install-source? #f
#:import-path "git.sr.ht/~anjan/mnc"))
(inputs (list go-github-com-influxdata-cron))
(home-page "https://git.sr.ht/~anjan/mnc")
(synopsis "Find seconds to next cron job")
(description "mnc (my next cron) opens the user's crontab and echos the
time when the next cronjob will be ran.")
(license license:unlicense)))