Skip to content

Commit

Permalink
wwcd: init at unstable-2022-02-05
Browse files Browse the repository at this point in the history
  • Loading branch information
laalsaas committed Oct 12, 2022
1 parent fca1f75 commit 790c45e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/tools/misc/wwcd/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,8 @@ with pkgs;
use64 = true;
};

wwcd = callPackage ../tools/misc/wwcd { };

writedisk = callPackage ../tools/misc/writedisk { };

xcd = callPackage ../tools/misc/xcd { };
Expand Down

0 comments on commit 790c45e

Please sign in to comment.