catch2: enable structuredAttrs, use tag/hash

This commit is contained in:
Stefan Frijters
2026-08-14 00:17:23 +02:00
parent b970e99608
commit a512cc03d6

View File

@@ -12,8 +12,8 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "catchorg";
repo = "Catch2";
rev = "v${finalAttrs.version}";
sha256 = "sha256-XnT2ziES94Y4uzWmaxSw7nWegJFQjAqFUG8PkwK5nLU=";
tag = "v${finalAttrs.version}";
hash = "sha256-XnT2ziES94Y4uzWmaxSw7nWegJFQjAqFUG8PkwK5nLU=";
};
nativeBuildInputs = [ cmake ];
@@ -22,6 +22,8 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [ "-H.." ];
__structuredAttrs = true;
meta = {
description = "Multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
homepage = "http://catch-lib.net";