1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "catch2";
10 version = "2.13.10";
11
12 src = fetchFromGitHub {
13 owner = "catchorg";
14 repo = "Catch2";
15 rev = "v${version}";
16 sha256 = "sha256-XnT2ziES94Y4uzWmaxSw7nWegJFQjAqFUG8PkwK5nLU=";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 cmakeFlags = [ "-H.." ];
22
23 meta = with lib; {
24 description = "Multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
25 homepage = "http://catch-lib.net";
26 license = licenses.boost;
27 maintainers = with maintainers; [
28 edwtjo
29 ];
30 platforms = with platforms; unix ++ windows;
31 };
32}