ngtcp2: add meta.changelog, modernize
This commit is contained in:
parent
59391acc7f
commit
8a753704ff
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user