about summary refs log tree commit diff
path: root/pkgs/tools/system/retry/default.nix
blob: 48125d2df37e8ba7feb4bec06ce305d3009a6c5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ];
  };
}