diff options
-rw-r--r-- | pkgs/tools/system/retry/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/tools/system/retry/default.nix b/pkgs/tools/system/retry/default.nix index 48125d2df37e8..2dcd1aa376607 100644 --- a/pkgs/tools/system/retry/default.nix +++ b/pkgs/tools/system/retry/default.nix @@ -1,23 +1,30 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, which, txt2man }: +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, txt2man +, which +}: + 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"; + 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"; - platforms = platforms.all; license = licenses.asl20; maintainers = with maintainers; [ gfrascadorio ]; + platforms = platforms.all; }; } |