nixpkgs-suyu/pkgs/development/libraries/doctest/default.nix
2021-04-29 13:51:26 +00:00

23 lines
611 B
Nix

{ 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 ];
};
}