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:
parent
3d6cd4343c
commit
d0d4af2c40
23
pkgs/tools/system/retry/default.nix
Normal file
23
pkgs/tools/system/retry/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -13567,6 +13567,8 @@ in
|
||||||
lua = lua5;
|
lua = lua5;
|
||||||
} // (config.radare or {}));
|
} // (config.radare or {}));
|
||||||
|
|
||||||
|
retry = callPackage ../tools/system/retry { };
|
||||||
|
|
||||||
rizin = pkgs.callPackage ../development/tools/analysis/rizin { };
|
rizin = pkgs.callPackage ../development/tools/analysis/rizin { };
|
||||||
|
|
||||||
cutter = libsForQt515.callPackage ../development/tools/analysis/rizin/cutter.nix { };
|
cutter = libsForQt515.callPackage ../development/tools/analysis/rizin/cutter.nix { };
|
||||||
|
|
Loading…
Reference in a new issue