From 5195582b1206da213f954b8287fc24f98a353b54 Mon Sep 17 00:00:00 2001 From: jgart Date: Fri, 21 Nov 2025 09:59:02 -0600 Subject: [PATCH] gnu: Add mnc. * gnu/packages/golang-apps.scm (mnc): New variable. Change-Id: If341b357dae444ed86ac33598bc45eb9ab9c9986 --- gnu/packages/golang-apps.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-apps.scm b/gnu/packages/golang-apps.scm index 68ce1db64eb45d695a745aeb0a234534aab99a05..df8a91e0aebb6c8ff2c7cc33d63294e8c6a85aed 100644 --- a/gnu/packages/golang-apps.scm +++ b/gnu/packages/golang-apps.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2025 Maxim Cournoyer ;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2025 Sharlatan Hellseher +;;; Copyright © 2025 jgart ;;; ;;; 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)))