2019-11-18 23:01:12 +00:00
|
|
|
{ stdenv, fetchFromGitHub, installShellFiles, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "doctest";
|
2021-01-07 17:22:34 +00:00
|
|
|
version = "2.4.4";
|
2019-11-18 23:01:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "onqtam";
|
|
|
|
repo = "doctest";
|
|
|
|
rev = version;
|
2021-01-07 17:22:34 +00:00
|
|
|
hash = "sha256-NqXC5948prTCi4gsaR8bJPBTrmH+rJbHsGvwkJlpjXY=";
|
2019-11-18 23:01:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/onqtam/doctest";
|
|
|
|
description = "The fastest feature-rich C++11/14/17/20 single-header testing framework";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ davidtwco ];
|
|
|
|
};
|
|
|
|
}
|