3
0
Fork 0
forked from mirrors/nixpkgs

catch: add version 1.1-3

This commit is contained in:
Edward Tjörnhammar 2015-05-25 10:38:42 +02:00
parent 0f6f4004f3
commit 0e9464478d
2 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,36 @@
{ stdenv, lib, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "catch-${version}";
version = "1.1-3";
src = fetchFromGitHub {
owner = "philsquared";
repo = "Catch";
rev = "c51e86819dc993d590e5d0adaf1952f4b53e5355";
sha256 = "0kgi7wxxysgjbpisqfj4dj0k19cyyai92f001zi8gzkybd4fkgv5";
};
buildInputs = [ cmake ];
dontUseCmakeConfigure = true;
buildPhase = ''
cmake -Hprojects/CMake -BBuild -DCMAKE_BUILD_TYPE=Release
cd Build
make
cd ..
'';
installPhase = ''
mkdir -p $out
mv include $out/.
'';
meta = with stdenv.lib; {
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 ];
};
}

View file

@ -748,6 +748,8 @@ let
capstone = callPackage ../development/libraries/capstone { };
catch = callPackage ../development/libraries/catch { };
catdoc = callPackage ../tools/text/catdoc { };
cdemu-daemon = callPackage ../misc/emulators/cdemu/daemon.nix { };