diff --git a/pkgs/by-name/ng/nghttp3/package.nix b/pkgs/by-name/ng/nghttp3/package.nix index 012c72d938db..b1127feff371 100644 --- a/pkgs/by-name/ng/nghttp3/package.nix +++ b/pkgs/by-name/ng/nghttp3/package.nix @@ -6,14 +6,14 @@ curlHTTP3, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "nghttp3"; version = "1.11.0"; src = fetchFromGitHub { owner = "ngtcp2"; repo = "nghttp3"; - rev = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-8WQfXzzF3K0IJNectrE1amQ6Njq4pZslrcVun6Uhi6E="; fetchSubmodules = true; }; @@ -36,11 +36,12 @@ stdenv.mkDerivation rec { inherit curlHTTP3; }; - meta = with lib; { + meta = { homepage = "https://github.com/ngtcp2/nghttp3"; + changelog = "https://github.com/ngtcp2/nghttp3/releases/tag/${finalAttrs.src.tag}"; description = "Implementation of HTTP/3 mapping over QUIC and QPACK in C"; - license = licenses.mit; - platforms = platforms.unix; - maintainers = with maintainers; [ izorkin ]; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ izorkin ]; }; -} +})