10 pname = "supercronic";
13 src = fetchFromGitHub {
17 hash = "sha256-gey5d+Dxmk7TS0miWRjeWMxW+qYrAPVYGHcHNYrYwK4=";
20 vendorHash = "sha256-ebUsnPpvQ/AK3C7MbGnXWSiuoXrjhQ2uZhj1OtRGeWU=";
22 excludedPackages = [ "cronexpr/cronexpr" ];
24 nativeCheckInputs = [ python3 bash coreutils ];
27 # There are tests that set the shell to various paths
28 substituteInPlace cron/cron_test.go --replace /bin/sh ${bash}/bin/sh
29 substituteInPlace cron/cron_test.go --replace /bin/false ${coreutils}/bin/false
33 description = "Cron tool designed for use in containers";
34 homepage = "https://github.com/aptible/supercronic";
35 license = licenses.mit;
36 maintainers = with maintainers; [ nasageek ];
37 mainProgram = "supercronic";