2021-01-21 20:00:13 +03:00
|
|
|
{ lib, stdenv, fetchFromGitHub, installShellFiles, cmake }:
|
2019-11-19 02:01:12 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "doctest";
|
2021-04-29 05:55:43 +03:00
|
|
|
version = "2.4.6";
|
2019-11-19 02:01:12 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "onqtam";
|
|
|
|
repo = "doctest";
|
|
|
|
rev = version;
|
2021-04-29 05:55:43 +03:00
|
|
|
sha256 = "14m3q6d96zg6d99x1152jkly50gdjrn5ylrbhax53pfgfzzc5yqx";
|
2019-11-19 02:01:12 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 20:00:13 +03:00
|
|
|
meta = with lib; {
|
2019-11-19 02:01:12 +03:00
|
|
|
homepage = "https://github.com/onqtam/doctest";
|
|
|
|
description = "The fastest feature-rich C++11/14/17/20 single-header testing framework";
|
2021-02-06 23:32:51 +03:00
|
|
|
platforms = platforms.all;
|
2019-11-19 02:01:12 +03:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ davidtwco ];
|
|
|
|
};
|
|
|
|
}
|