nghttp3: add meta.changelog, modernize

Changed files
+8 -7
pkgs
by-name
ng
nghttp3
+8 -7
pkgs/by-name/ng/nghttp3/package.nix
···
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;
};
···
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 ];
};
-
}
+
})