2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "catch2";
|
2022-10-30 15:09:59 +00:00
|
|
|
version = "2.13.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "catchorg";
|
|
|
|
repo = "Catch2";
|
|
|
|
rev = "v${version}";
|
2022-10-30 15:09:59 +00:00
|
|
|
sha256="sha256-XnT2ziES94Y4uzWmaxSw7nWegJFQjAqFUG8PkwK5nLU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-H.." ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
|
|
|
|
homepage = "http://catch-lib.net";
|
|
|
|
license = licenses.boost;
|
|
|
|
maintainers = with maintainers; [ edwtjo knedlsepp ];
|
2022-07-18 16:21:45 +00:00
|
|
|
platforms = platforms.unix ++ [ "x86_64-windows" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|