1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/development/libraries/catch/default.nix

28 lines
700 B
Nix
Raw Normal View History

2017-06-30 17:19:09 +01:00
{ stdenv, fetchFromGitHub, cmake }:
2015-05-25 09:38:42 +01:00
stdenv.mkDerivation rec {
name = "catch-${version}";
2017-11-17 22:10:19 +00:00
version = "1.11.0";
2015-05-25 09:38:42 +01:00
src = fetchFromGitHub {
2017-11-17 22:10:19 +00:00
owner = "catchorg";
2015-05-25 09:38:42 +01:00
repo = "Catch";
2017-06-17 16:21:50 +01:00
rev = "v${version}";
2017-11-17 22:10:19 +00:00
sha256 = "0v9yw7ydvhydp78hh7cmaif4h73k5qxqpm1g7xn8i882i3s84s2s";
2015-05-25 09:38:42 +01:00
};
2017-06-17 16:21:50 +01:00
nativeBuildInputs = [ cmake ];
2017-02-02 19:47:01 +00:00
cmakeFlags = [ "-DUSE_CPP14=ON" ];
2015-05-25 09:38:42 +01:00
2017-02-02 19:47:01 +00:00
doCheck = true;
checkTarget = "test";
2015-05-25 09:38:42 +01:00
meta = with stdenv.lib; {
description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
homepage = http://catch-lib.net;
2015-05-25 09:38:42 +01:00
license = licenses.boost;
2017-02-02 19:47:01 +00:00
maintainers = with maintainers; [ edwtjo knedlsepp ];
platforms = with platforms; unix;
2015-05-25 09:38:42 +01:00
};
}