ngtcp2: add meta.changelog, modernize

This commit is contained in:
Arne Keller 2025-04-21 22:26:02 +02:00 committed by FliegendeWurst
parent 59391acc7f
commit 8a753704ff

View File

@ -12,14 +12,15 @@
curlHTTP3,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ngtcp2";
version = "1.12.0";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = pname;
rev = "v${version}";
repo = "ngtcp2";
# must match version usage in meta.changelog
tag = "v${finalAttrs.version}";
hash = "sha256-mfgWtyYhAJB8kvQVNCuSHx4Nz1Th5STMlorCB2xO7OQ=";
fetchSubmodules = true;
};
@ -48,11 +49,12 @@ stdenv.mkDerivation rec {
inherit curlHTTP3;
};
meta = with lib; {
meta = {
homepage = "https://github.com/ngtcp2/ngtcp2";
description = "ngtcp2 project is an effort to implement QUIC protocol which is now being discussed in IETF QUICWG for its standardization";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ izorkin ];
changelog = "https://github.com/ngtcp2/ngtcp2/releases/tag/v${finalAttrs.version}";
description = "Implementation of the QUIC protocol (RFC9000)";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ izorkin ];
};
}
})