nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 txt2man,
7 which,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "retry";
12 version = "1.0.6";
13
14 src = fetchFromGitHub {
15 owner = "minfrin";
16 repo = "retry";
17 rev = "${pname}-${version}";
18 hash = "sha256-26sSjz4UE7TVP66foVhDFTNNzdh/6OY6CaFS/544RQU=";
19 };
20
21 nativeBuildInputs = [
22 autoreconfHook
23 txt2man
24 which
25 ];
26
27 meta = {
28 homepage = "https://github.com/minfrin/retry";
29 description = "Command wrapper that retries until the command succeeds";
30 license = lib.licenses.asl20;
31 maintainers = with lib.maintainers; [ gfrascadorio ];
32 platforms = lib.platforms.all;
33 mainProgram = "retry";
34 };
35}