retry: init at v1.04

Add package for 'retry' tool that allows a script to repeat a command
until it succeeds or hits a repetition threshold. 'Retry' supports
replaying stdin, emitting the final stdout, and backoff delays.

Applied fixes for PR comments
This commit is contained in:
gfrascadorio 2021-05-16 22:04:35 -06:00
parent 3d6cd4343c
commit d0d4af2c40
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, which, txt2man }:
stdenv.mkDerivation rec {
pname = "retry";
version = "1.0.4";
nativeBuildInputs = [ autoreconfHook which txt2man ];
src = fetchFromGitHub {
owner = "minfrin";
repo = "retry";
rev = "${pname}-${version}";
sha256 = "sha256:0jrx4yrwlf4fn3309kxraj7zgwk7gq6rz5ibswq3w3b3jfvxi8qb";
};
meta = with lib; {
homepage = "https://github.com/minfrin/retry";
description = "Retry a command until the command succeeds";
platforms = platforms.all;
license = licenses.asl20;
# maintainers = with maintainers; [ gfrascadorio ];
};
}

View file

@ -13567,6 +13567,8 @@ in
lua = lua5;
} // (config.radare or {}));
retry = callPackage ../tools/system/retry { };
rizin = pkgs.callPackage ../development/tools/analysis/rizin { };
cutter = libsForQt515.callPackage ../development/tools/analysis/rizin/cutter.nix { };