From 1d75611d1caea3ba08baf73632030ed8a7029f19 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Thu, 2 Jun 2022 21:56:04 -0300 Subject: [PATCH] retry: use new SRI hash format --- pkgs/tools/system/retry/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/system/retry/default.nix b/pkgs/tools/system/retry/default.nix index 48125d2df37e..2dcd1aa37660 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; }; }