2016-07-17 16:20:23 +01:00
|
|
|
{stdenv, fetchFromGitHub, cmake}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "unittest-cpp-${version}";
|
|
|
|
version = "1.6.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unittest-cpp";
|
|
|
|
repo = "unittest-cpp";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1sva2bm90z4vmwwvp0af82f7p4sdq5j2jjqzhs2ppihdkggn62d1";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [cmake];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 21:03:30 +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 = [];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-07-17 16:20:23 +01:00
|
|
|
};
|
|
|
|
}
|