Commit 8a753704 authored by Arne Keller's avatar Arne Keller Committed by FliegendeWurst
Browse files

ngtcp2: add meta.changelog, modernize

parent 59391acc
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})