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