2021-05-17 06:04:35 +02:00
|
|
|
{ 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;
|
2021-05-18 18:18:09 +02:00
|
|
|
maintainers = with maintainers; [ gfrascadorio ];
|
2021-05-17 06:04:35 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|