diff options
-rw-r--r-- | maintainers/maintainer-list.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/wwcd/default.nix | 31 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 37 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 93f0675d9c084..20079be7dcfb7 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -7481,6 +7481,10 @@ githubId = 72546287; name = "L3af"; }; + laalsaas = { + email = "laalsaas@systemli.org"; + name = "laalsaas"; + }; lach = { email = "iam@lach.pw"; github = "CertainLach"; diff --git a/pkgs/tools/misc/wwcd/default.nix b/pkgs/tools/misc/wwcd/default.nix new file mode 100644 index 0000000000000..d18c72a25eeb6 --- /dev/null +++ b/pkgs/tools/misc/wwcd/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, lib +, fetchFromSourcehut +, autoreconfHook +, pkg-config +, check +}: + +stdenv.mkDerivation rec { + pname = "wwcd"; + version = "unstable-2022-02-05"; + + src = fetchFromSourcehut { + owner = "~bitfehler"; + repo = pname; + rev = "cdf70bb18dc60c66c074d4810cb37b9e697811e5"; + sha256 = "sha256-laf1DEtdEs7q+rtp5Y5rb+7AGsKUv5T413CFWJiURWw="; + }; + + autoreconfFlags = "-if"; + nativeBuildInputs = [ + autoreconfHook pkg-config check + ]; + + meta = with lib; { + description = "What would cron do? Read crontab entries from stdin and print time of next execution(s)"; + homepage = "https://git.sr.ht/~bitfehler/wwcd"; + license = licenses.mit; + maintainers = with maintainers; [ laalsaas ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 247919e6f400f..fead0297315be 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1432,6 +1432,8 @@ with pkgs; use64 = true; }; + wwcd = callPackage ../tools/misc/wwcd { }; + writedisk = callPackage ../tools/misc/writedisk { }; xcd = callPackage ../tools/misc/xcd { }; |