2022-11-18 22:15:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromSourcehut
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mnc";
|
|
|
|
version = "0.4";
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-H0KmGTWyjZOZLIEWophCwRYPeKLxBC050RI7cMXNbPs=";
|
2022-11-18 22:15:29 +00:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~anjan";
|
|
|
|
repo = "mnc";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-S7MBIxuYI+cc8OMQULt7VS7ouPqhq0Jk+rz6E5GyKac=";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Opens the user's crontab and echos the time when the next cronjob will be ran";
|
|
|
|
homepage = "https://git.sr.ht/~anjan/mnc";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ wentam ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "mnc";
|
2022-11-18 22:15:29 +00:00
|
|
|
};
|
|
|
|
}
|