about summary refs log tree commit diff
path: root/pkgs/tools/misc/mnc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/mnc/default.nix')
-rw-r--r--pkgs/tools/misc/mnc/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/mnc/default.nix b/pkgs/tools/misc/mnc/default.nix
new file mode 100644
index 0000000000000..b6ee577d07cdf
--- /dev/null
+++ b/pkgs/tools/misc/mnc/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, buildGoModule
+, fetchFromSourcehut
+}:
+
+buildGoModule rec {
+  pname = "mnc";
+  version = "0.4";
+
+  vendorSha256 = "sha256-H0KmGTWyjZOZLIEWophCwRYPeKLxBC050RI7cMXNbPs=";
+
+  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 ];
+  };
+}