gtest: enable structuredAttrs, use tag

This commit is contained in:
Stefan Frijters
2026-07-24 15:17:45 +02:00
parent d1f8b8ab35
commit 672b952591

View File

@@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "google";
repo = "googletest";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-HIHMxAUR4bjmFLoltJeIAVSulVQ6kVuIT2Ku+lwAx/4=";
};
@@ -64,6 +64,8 @@ stdenv.mkDerivation (finalAttrs: {
]
++ lib.optional withAbseil "-DGTEST_HAS_ABSL=ON";
__structuredAttrs = true;
meta = {
description = "Google's framework for writing C++ tests";
homepage = "https://github.com/google/googletest";