depot/third_party/nixpkgs/pkgs/tools/system/retry/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
656 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, txt2man
, which
}:
stdenv.mkDerivation rec {
pname = "retry";
version = "1.0.5";
src = fetchFromGitHub {
owner = "minfrin";
repo = "retry";
rev = "${pname}-${version}";
hash = "sha256-5H2MnnThi4rT/o3oTkGDKXStQwob4G9mMsZewItPub4=";
};
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;
mainProgram = "retry";
};
}