2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, txt2man
|
|
|
|
, which
|
|
|
|
}:
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "retry";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "1.0.5";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "minfrin";
|
|
|
|
repo = "retry";
|
|
|
|
rev = "${pname}-${version}";
|
2023-01-11 07:51:40 +00:00
|
|
|
hash = "sha256-5H2MnnThi4rT/o3oTkGDKXStQwob4G9mMsZewItPub4=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook txt2man which ];
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/minfrin/retry";
|
|
|
|
description = "Retry a command until the command succeeds";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ gfrascadorio ];
|
2022-06-16 17:23:12 +00:00
|
|
|
platforms = platforms.all;
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|