diff --git a/pkgs/tools/admin/acme-sh/default.nix b/pkgs/tools/admin/acme-sh/default.nix index 64f2a3bef09..d6c661583e6 100644 --- a/pkgs/tools/admin/acme-sh/default.nix +++ b/pkgs/tools/admin/acme-sh/default.nix @@ -20,8 +20,8 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "acmesh-official"; repo = "acme.sh"; - rev = version; - sha256 = "sha256-IDhJRIsk+a+tP+ZeNm6nGvkDh54M0uvAMnSWHbCF3E8="; + rev = "refs/tags/${version}"; + hash = "sha256-IDhJRIsk+a+tP+ZeNm6nGvkDh54M0uvAMnSWHbCF3E8="; }; nativeBuildInputs = [ @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://acme.sh/"; + changelog = "https://github.com/acmesh-official/acme.sh/releases/tag/${version}"; description = "A pure Unix shell script implementing ACME client protocol"; longDescription = '' An ACME Shell script: acme.sh