mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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
2 changed files with 25 additions and 0 deletions
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;
|
||||
} // (config.radare or {}));
|
||||
|
||||
retry = callPackage ../tools/system/retry { };
|
||||
|
||||
rizin = pkgs.callPackage ../development/tools/analysis/rizin { };
|
||||
|
||||
cutter = libsForQt515.callPackage ../development/tools/analysis/rizin/cutter.nix { };
|
||||
|
|
Loading…
Reference in a new issue