mlx42: add meta.changelog and simplify src.rev

This commit is contained in:
TomaSajt 2023-11-27 21:16:07 +01:00
parent ce89133d42
commit b6195f1b4c
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "codam-coding-college";
repo = "MLX42";
rev = "refs/tags/v${finalAttrs.version}";
rev = "v${finalAttrs.version}";
hash = "sha256-JCBV8NWibSugqXkbgP0v3gDfaaMNFYztWpBRfHJUG8E=";
};
@ -53,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
meta = {
changelog = "https://github.com/codam-coding-college/MLX42/releases/tag/${finalAttrs.src.rev}";
description = "A simple cross-platform graphics library that uses GLFW and OpenGL";
homepage = "https://github.com/codam-coding-college/MLX42";
license = lib.licenses.gpl2Only;