lol
1{ stdenv
2, lib
3, fetchFromSourcehut
4, autoreconfHook
5, pkg-config
6, check
7}:
8
9stdenv.mkDerivation rec {
10 pname = "wwcd";
11 version = "unstable-2022-02-05";
12
13 src = fetchFromSourcehut {
14 owner = "~bitfehler";
15 repo = pname;
16 rev = "cdf70bb18dc60c66c074d4810cb37b9e697811e5";
17 sha256 = "sha256-laf1DEtdEs7q+rtp5Y5rb+7AGsKUv5T413CFWJiURWw=";
18 };
19
20 nativeBuildInputs = [
21 autoreconfHook pkg-config check
22 ];
23
24 autoreconfFlags = [ "-if" ];
25
26 meta = with lib; {
27 description = "What would cron do? Read crontab entries from stdin and print time of next execution(s)";
28 homepage = "https://git.sr.ht/~bitfehler/wwcd";
29 license = licenses.mit;
30 maintainers = with maintainers; [ laalsaas ];
31 };
32}