diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-06-02 21:56:04 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-06-02 22:01:40 -0300 |
commit | 1d75611d1caea3ba08baf73632030ed8a7029f19 (patch) | |
tree | f40bae0739fee6085d0141c2ce4bdd0a2abfc713 /pkgs/tools/system/retry | |
parent | a9f927d32140ed8fa495d80e117dd36f9469f115 (diff) |
retry: use new SRI hash format
Diffstat (limited to 'pkgs/tools/system/retry')
-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; }; } |