@@ -0,0 +1,27 @@
1+{ stdenv, fetchFromGitHub, cmake, python }:
2+
3+stdenv.mkDerivation rec {
4+ name = "catch2-${version}";
5+ version = "2.4.2";
6+
7+ src = fetchFromGitHub {
8+ owner = "catchorg";
9+ repo = "Catch2";
10+ rev = "v${version}";
11+ sha256="1105bxbvh1xxl4yxjjp6l6w6hgsh8xbdiwlnga9di5y2x92b9bjd";
12+ };
13+
14+ nativeBuildInputs = [ cmake ];
15+
16+ cmakeFlags = [
17+ "-H.."
18+ "-DBUILD_TESTING=OFF"];
19+
20+ meta = with stdenv.lib; {
21+ description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
22+ homepage = http://catch-lib.net;
23+ license = licenses.boost;
24+ maintainers = with maintainers; [ edwtjo knedlsepp ];
25+ platforms = with platforms; unix;
26+ };
27+}