2016-07-17 17:20:23 +02:00
|
|
|
{stdenv, fetchFromGitHub, cmake}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "unittest-cpp-${version}";
|
2018-02-28 03:31:46 +01:00
|
|
|
version = "2.0.0";
|
2016-07-17 17:20:23 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unittest-cpp";
|
|
|
|
repo = "unittest-cpp";
|
|
|
|
rev = "v${version}";
|
2018-02-28 03:31:46 +01:00
|
|
|
sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i";
|
2016-07-17 17:20:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [cmake];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/unittest-cpp/unittest-cpp;
|
2016-07-17 17:20:23 +02:00
|
|
|
description = "Lightweight unit testing framework for C++";
|
|
|
|
license = licenses.mit;
|
2017-03-05 20:47:24 +01:00
|
|
|
maintainers = [];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-07-17 17:20:23 +02:00
|
|
|
};
|
|
|
|
}
|