forked from mirrors/nixpkgs
catch: add version 1.1-3
This commit is contained in:
parent
0f6f4004f3
commit
0e9464478d
36
pkgs/development/libraries/catch/default.nix
Normal file
36
pkgs/development/libraries/catch/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
@ -4498,7 +4500,7 @@ let
|
|||
teyjus = callPackage ../development/compilers/teyjus {
|
||||
omake = omake_rc1;
|
||||
};
|
||||
|
||||
|
||||
thrust = callPackage ../development/tools/thrust {
|
||||
gconf = pkgs.gnome.GConf;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue