mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
gtest: enable structuredAttrs, use tag
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user