summary refs log blame commit diff
path: root/pkgs/development/libraries/doctest/default.nix
blob: c8e31d43e9538b55d31b3579bd817bbc093d712c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                           


                         
                    




                         
                                                                    



                                
                    

                                                                                            
                              



                                                  
{ lib, stdenv, fetchFromGitHub, installShellFiles, cmake }:

stdenv.mkDerivation rec {
  pname = "doctest";
  version = "2.4.6";

  src = fetchFromGitHub {
    owner = "onqtam";
    repo = "doctest";
    rev = version;
    sha256 = "14m3q6d96zg6d99x1152jkly50gdjrn5ylrbhax53pfgfzzc5yqx";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
    homepage = "https://github.com/onqtam/doctest";
    description = "The fastest feature-rich C++11/14/17/20 single-header testing framework";
    platforms = platforms.all;
    license = licenses.mit;
    maintainers = with maintainers; [ davidtwco ];
  };
}