2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, cmake}:
|
2016-07-17 16:20:23 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
with lib;
|
2016-07-17 16:20:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "unittest-cpp";
|
2018-02-28 02:31:46 +00:00
|
|
|
version = "2.0.0";
|
2016-07-17 16:20:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unittest-cpp";
|
|
|
|
repo = "unittest-cpp";
|
|
|
|
rev = "v${version}";
|
2018-02-28 02:31:46 +00:00
|
|
|
sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i";
|
2016-07-17 16:20:23 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2016-07-17 16:20:23 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/unittest-cpp/unittest-cpp";
|
2016-07-17 16:20:23 +01:00
|
|
|
description = "Lightweight unit testing framework for C++";
|
|
|
|
license = licenses.mit;
|
2017-03-05 19:47:24 +00:00
|
|
|
maintainers = [];
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2016-07-17 16:20:23 +01:00
|
|
|
};
|
|
|
|
}
|