catch: use upstream install target
This commit is contained in:
parent
9eb540b807
commit
fd005d0d72
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, cmake, fetchFromGitHub }:
|
{ stdenv, cmake, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
@ -13,25 +13,16 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake ];
|
buildInputs = [ cmake ];
|
||||||
dontUseCmakeConfigure = true;
|
cmakeFlags = [ "-DUSE_CPP14=ON" ];
|
||||||
|
|
||||||
buildPhase = ''
|
doCheck = true;
|
||||||
cmake . -BBuild -DCMAKE_BUILD_TYPE=Release -DUSE_CPP11=ON
|
checkTarget = "test";
|
||||||
cd Build
|
|
||||||
make
|
|
||||||
cd ..
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
mv include $out/.
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
|
description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
|
||||||
homepage = "http://catch-lib.net";
|
homepage = "http://catch-lib.net";
|
||||||
license = licenses.boost;
|
license = licenses.boost;
|
||||||
maintainers = with maintainers; [ edwtjo ];
|
maintainers = with maintainers; [ edwtjo knedlsepp ];
|
||||||
platforms = with platforms; unix;
|
platforms = with platforms; unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user