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