retry: use new SRI hash format

This commit is contained in:
AndersonTorres 2022-06-02 21:56:04 -03:00
parent a9f927d321
commit 1d75611d1c

View file

@ -1,23 +1,30 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, which, txt2man }: { lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, txt2man
, which
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "retry"; pname = "retry";
version = "1.0.4"; version = "1.0.4";
nativeBuildInputs = [ autoreconfHook which txt2man ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "minfrin"; owner = "minfrin";
repo = "retry"; repo = "retry";
rev = "${pname}-${version}"; rev = "${pname}-${version}";
sha256 = "sha256:0jrx4yrwlf4fn3309kxraj7zgwk7gq6rz5ibswq3w3b3jfvxi8qb"; hash = "sha256-C6PYt5NjDT4w1yuWnw1+Z/L3j1S5zwTGsI44yrMnPUs=";
}; };
nativeBuildInputs = [ autoreconfHook txt2man which ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/minfrin/retry"; homepage = "https://github.com/minfrin/retry";
description = "Retry a command until the command succeeds"; description = "Retry a command until the command succeeds";
platforms = platforms.all;
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ gfrascadorio ]; maintainers = with maintainers; [ gfrascadorio ];
platforms = platforms.all;
}; };
} }