at 22.05-pre 23 lines 611 B view raw
1{ lib, stdenv, fetchFromGitHub, installShellFiles, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "doctest"; 5 version = "2.4.6"; 6 7 src = fetchFromGitHub { 8 owner = "onqtam"; 9 repo = "doctest"; 10 rev = version; 11 sha256 = "14m3q6d96zg6d99x1152jkly50gdjrn5ylrbhax53pfgfzzc5yqx"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 homepage = "https://github.com/onqtam/doctest"; 18 description = "The fastest feature-rich C++11/14/17/20 single-header testing framework"; 19 platforms = platforms.all; 20 license = licenses.mit; 21 maintainers = with maintainers; [ davidtwco ]; 22 }; 23}