about summary refs log tree commit diff
path: root/pkgs/tools/system/retry/default.nix
blob: 2dcd1aa376607a42cb12cda6188c2a8b524ca265 (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
24
25
26
27
28
29
30
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, txt2man
, which
}:

stdenv.mkDerivation rec {
  pname = "retry";
  version = "1.0.4";

  src = fetchFromGitHub {
    owner = "minfrin";
    repo = "retry";
    rev = "${pname}-${version}";
    hash = "sha256-C6PYt5NjDT4w1yuWnw1+Z/L3j1S5zwTGsI44yrMnPUs=";
  };

  nativeBuildInputs = [ autoreconfHook txt2man which ];

  meta = with lib; {
    homepage = "https://github.com/minfrin/retry";
    description = "Retry a command until the command succeeds";
    license = licenses.asl20;
    maintainers = with maintainers; [ gfrascadorio ];
    platforms = platforms.all;
  };
}