2022-06-03 02:56:04 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, txt2man
|
|
|
|
, which
|
|
|
|
}:
|
|
|
|
|
2021-05-17 06:04:35 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "retry";
|
|
|
|
version = "1.0.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "minfrin";
|
|
|
|
repo = "retry";
|
|
|
|
rev = "${pname}-${version}";
|
2022-06-03 02:56:04 +02:00
|
|
|
hash = "sha256-C6PYt5NjDT4w1yuWnw1+Z/L3j1S5zwTGsI44yrMnPUs=";
|
2021-05-17 06:04:35 +02:00
|
|
|
};
|
|
|
|
|
2022-06-03 02:56:04 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook txt2man which ];
|
|
|
|
|
2021-05-17 06:04:35 +02:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/minfrin/retry";
|
|
|
|
description = "Retry a command until the command succeeds";
|
|
|
|
license = licenses.asl20;
|
2021-05-18 18:18:09 +02:00
|
|
|
maintainers = with maintainers; [ gfrascadorio ];
|
2022-06-03 02:56:04 +02:00
|
|
|
platforms = platforms.all;
|
2021-05-17 06:04:35 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|