nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromSourcehut,
5}:
6
7buildGoModule rec {
8 pname = "mnc";
9 version = "0.5";
10
11 vendorHash = "sha256-H0KmGTWyjZOZLIEWophCwRYPeKLxBC050RI7cMXNbPs=";
12
13 src = fetchFromSourcehut {
14 owner = "~anjan";
15 repo = "mnc";
16 rev = version;
17 sha256 = "sha256-eCj7wmHxPF2j2x4yHKN7TE122TCv1++azgdoQArabBM=";
18 };
19
20 meta = {
21 description = "Opens the user's crontab and echos the time when the next cronjob will be ran";
22 homepage = "https://git.sr.ht/~anjan/mnc";
23 license = lib.licenses.unlicense;
24 platforms = lib.platforms.linux;
25 maintainers = with lib.maintainers; [ wentam ];
26 mainProgram = "mnc";
27 };
28}