nixpkgs/pkgs/tools/system/retry/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
629 B
Nix
Raw Normal View History

2022-06-03 02:56:04 +02:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, txt2man
, which
}:
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=";
};
2022-06-03 02:56:04 +02:00
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 ];
2022-06-03 02:56:04 +02:00
platforms = platforms.all;
};
}