Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 27 lines 700 B view raw
1{ stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 name = "catch-${version}"; 5 version = "1.12.0"; 6 7 src = fetchFromGitHub { 8 owner = "catchorg"; 9 repo = "Catch"; 10 rev = "v${version}"; 11 sha256 = "0hkcmycvyyazzi9dywnyiipnmbx399iirh5xk5g957c8zl0505kd"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 cmakeFlags = [ "-DUSE_CPP14=ON" ]; 16 17 doCheck = true; 18 checkTarget = "test"; 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}