2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, cmake}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "unittest-cpp";
|
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unittest-cpp";
|
|
|
|
repo = "unittest-cpp";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/unittest-cpp/unittest-cpp";
|
|
|
|
description = "Lightweight unit testing framework for C++";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [];
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|